#[repr(C)]pub struct DataBuffer {
pub size: size_t,
pub p: *mut u8,
}
Fields§
§size: size_t
§p: *mut u8
Trait Implementations§
Source§impl Clone for DataBuffer
impl Clone for DataBuffer
Source§fn clone(&self) -> DataBuffer
fn clone(&self) -> DataBuffer
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DataBuffer
impl Debug for DataBuffer
impl Copy for DataBuffer
Auto Trait Implementations§
impl Freeze for DataBuffer
impl RefUnwindSafe for DataBuffer
impl !Send for DataBuffer
impl !Sync for DataBuffer
impl Unpin for DataBuffer
impl UnwindSafe for DataBuffer
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