#[repr(C)]pub struct ByteBuffer {
pub data: *mut c_uchar,
pub len: usize,
pub capacity: usize,
}Expand description
C-compatible byte buffer
Fields§
§data: *mut c_uchar§len: usize§capacity: usizeAuto Trait Implementations§
impl !Send for ByteBuffer
impl !Sync for ByteBuffer
impl Freeze for ByteBuffer
impl RefUnwindSafe for ByteBuffer
impl Unpin for ByteBuffer
impl UnsafeUnpin for ByteBuffer
impl UnwindSafe for ByteBuffer
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