#[repr(C)]pub struct _MALLOC_FREE_STRUCT {
pub pfnAllocate: Option<unsafe extern "C" fn(arg1: usize) -> *mut c_void>,
pub pfnFree: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
}
Fields§
§pfnAllocate: Option<unsafe extern "C" fn(arg1: usize) -> *mut c_void>
§pfnFree: Option<unsafe extern "C" fn(arg1: *mut c_void)>
Trait Implementations§
Source§impl Clone for _MALLOC_FREE_STRUCT
impl Clone for _MALLOC_FREE_STRUCT
Source§fn clone(&self) -> _MALLOC_FREE_STRUCT
fn clone(&self) -> _MALLOC_FREE_STRUCT
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 _MALLOC_FREE_STRUCT
impl Debug for _MALLOC_FREE_STRUCT
Source§impl Ord for _MALLOC_FREE_STRUCT
impl Ord for _MALLOC_FREE_STRUCT
Source§fn cmp(&self, other: &_MALLOC_FREE_STRUCT) -> Ordering
fn cmp(&self, other: &_MALLOC_FREE_STRUCT) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for _MALLOC_FREE_STRUCT
impl PartialEq for _MALLOC_FREE_STRUCT
Source§impl PartialOrd for _MALLOC_FREE_STRUCT
impl PartialOrd for _MALLOC_FREE_STRUCT
impl Copy for _MALLOC_FREE_STRUCT
impl Eq for _MALLOC_FREE_STRUCT
impl StructuralPartialEq for _MALLOC_FREE_STRUCT
Auto Trait Implementations§
impl Freeze for _MALLOC_FREE_STRUCT
impl RefUnwindSafe for _MALLOC_FREE_STRUCT
impl Send for _MALLOC_FREE_STRUCT
impl Sync for _MALLOC_FREE_STRUCT
impl Unpin for _MALLOC_FREE_STRUCT
impl UnwindSafe for _MALLOC_FREE_STRUCT
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