Type Alias cyclors::dds_cdrstream_allocator_t
source · 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
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 more