pub type dds_cdrstream_allocator_t = dds_cdrstream_allocator;

Aliased Type§

struct dds_cdrstream_allocator_t {
    pub malloc: Option<unsafe extern "C" fn(_: usize) -> *mut c_void>,
    pub realloc: Option<unsafe extern "C" fn(_: *mut c_void, _: usize) -> *mut c_void>,
    pub free: Option<unsafe extern "C" fn(_: *mut c_void)>,
}

Fields§

§malloc: Option<unsafe extern "C" fn(_: usize) -> *mut c_void>§realloc: Option<unsafe extern "C" fn(_: *mut c_void, _: usize) -> *mut c_void>§free: Option<unsafe extern "C" fn(_: *mut c_void)>

Trait Implementations§

source§

impl Clone for dds_cdrstream_allocator

source§

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)

Performs copy-assignment from source. Read more
source§

impl Debug for dds_cdrstream_allocator

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for dds_cdrstream_allocator