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 H
§len: u32
§cap: u32
Implementations§
Auto Trait Implementations§
impl<H> Freeze for Buf32<H>
impl<H> RefUnwindSafe for Buf32<H>where
H: RefUnwindSafe,
impl<H> !Send for Buf32<H>
impl<H> !Sync for Buf32<H>
impl<H> Unpin for Buf32<H>
impl<H> UnwindSafe for Buf32<H>where
H: RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more