#[repr(C)]pub struct AllocatedMemory {
pub status: c_int,
pub data: *mut u8,
pub length: usize,
}
Fields§
§status: c_int
§data: *mut u8
§length: usize
Implementations§
Trait Implementations§
Source§impl Clone for AllocatedMemory
impl Clone for AllocatedMemory
Source§fn clone(&self) -> AllocatedMemory
fn clone(&self) -> AllocatedMemory
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 AllocatedMemory
impl Debug for AllocatedMemory
impl Copy for AllocatedMemory
Auto Trait Implementations§
impl Freeze for AllocatedMemory
impl RefUnwindSafe for AllocatedMemory
impl !Send for AllocatedMemory
impl !Sync for AllocatedMemory
impl Unpin for AllocatedMemory
impl UnwindSafe for AllocatedMemory
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