#[repr(C)]pub struct Buffer {
pub data: *mut U8,
pub length: usize,
}Fields§
§data: *mut U8§length: usizeImplementations§
Trait Implementations§
Source§impl ConstDefault for Buffer
impl ConstDefault for Buffer
impl Copy for Buffer
Auto Trait Implementations§
impl Freeze for Buffer
impl RefUnwindSafe for Buffer
impl !Send for Buffer
impl !Sync for Buffer
impl Unpin for Buffer
impl UnwindSafe for Buffer
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