Struct cyclors::dds_cdrstream_allocator
source · #[repr(C)]pub struct dds_cdrstream_allocator {
pub malloc: Option<unsafe extern "C" fn(size: usize) -> *mut c_void>,
pub realloc: Option<unsafe extern "C" fn(ptr: *mut c_void, new_size: usize) -> *mut c_void>,
pub free: Option<unsafe extern "C" fn(pt: *mut c_void)>,
}
Fields§
§malloc: Option<unsafe extern "C" fn(size: usize) -> *mut c_void>
§realloc: Option<unsafe extern "C" fn(ptr: *mut c_void, new_size: usize) -> *mut c_void>
§free: Option<unsafe extern "C" fn(pt: *mut c_void)>
Trait Implementations§
source§impl Clone for dds_cdrstream_allocator
impl Clone for dds_cdrstream_allocator
source§fn clone(&self) -> dds_cdrstream_allocator
fn clone(&self) -> dds_cdrstream_allocator
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 dds_cdrstream_allocator
impl Debug for dds_cdrstream_allocator
impl Copy for dds_cdrstream_allocator
Auto Trait Implementations§
impl RefUnwindSafe for dds_cdrstream_allocator
impl Send for dds_cdrstream_allocator
impl Sync for dds_cdrstream_allocator
impl Unpin for dds_cdrstream_allocator
impl UnwindSafe for dds_cdrstream_allocator
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