Struct tendril::buf32::Buf32[][src]

pub struct Buf32<H> {
    pub ptr: *mut H,
    pub len: u32,
    pub cap: u32,
}
Expand description

A buffer points to a header of type H, which is followed by MIN_CAP or more bytes of storage.

Fields

ptr: *mut Hlen: u32cap: u32

Implementations

Grow the capacity to at least new_cap.

This will panic if the capacity calculation overflows u32.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.