Struct enet_sys::_ENetCallbacks [−][src]
#[repr(C)]pub struct _ENetCallbacks { pub malloc: Option<unsafe extern "C" fn(size: usize) -> *mut c_void>, pub free: Option<unsafe extern "C" fn(memory: *mut c_void)>, pub no_memory: Option<unsafe extern "C" fn()>, }
Fields
malloc: Option<unsafe extern "C" fn(size: usize) -> *mut c_void>
free: Option<unsafe extern "C" fn(memory: *mut c_void)>
no_memory: Option<unsafe extern "C" fn()>
Trait Implementations
impl Copy for _ENetCallbacks
[src]
impl Copy for _ENetCallbacks
impl Clone for _ENetCallbacks
[src]
impl Clone for _ENetCallbacks
fn clone(&self) -> _ENetCallbacks
[src]
fn clone(&self) -> _ENetCallbacks
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for _ENetCallbacks
impl Send for _ENetCallbacks
impl Sync for _ENetCallbacks
impl Sync for _ENetCallbacks