#[repr(C)]pub struct Struct_SyMemMethods {
pub xAlloc: Option<extern "C" fn(arg1: c_uint) -> *mut c_void>,
pub xRealloc: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: c_uint) -> *mut c_void>,
pub xFree: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
pub xChunkSize: Option<unsafe extern "C" fn(arg1: *mut c_void) -> c_uint>,
pub xInit: Option<unsafe extern "C" fn(arg1: *mut c_void) -> c_int>,
pub xRelease: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
pub pUserData: *mut c_void,
}Fields§
§xAlloc: Option<extern "C" fn(arg1: c_uint) -> *mut c_void>§xRealloc: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: c_uint) -> *mut c_void>§xFree: Option<unsafe extern "C" fn(arg1: *mut c_void)>§xChunkSize: Option<unsafe extern "C" fn(arg1: *mut c_void) -> c_uint>§xInit: Option<unsafe extern "C" fn(arg1: *mut c_void) -> c_int>§xRelease: Option<unsafe extern "C" fn(arg1: *mut c_void)>§pUserData: *mut c_voidTrait Implementations§
Source§impl Clone for Struct_SyMemMethods
impl Clone for Struct_SyMemMethods
Source§impl Default for Struct_SyMemMethods
impl Default for Struct_SyMemMethods
impl Copy for Struct_SyMemMethods
Auto Trait Implementations§
impl Freeze for Struct_SyMemMethods
impl RefUnwindSafe for Struct_SyMemMethods
impl !Send for Struct_SyMemMethods
impl !Sync for Struct_SyMemMethods
impl Unpin for Struct_SyMemMethods
impl UnwindSafe for Struct_SyMemMethods
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