#[repr(C)]pub struct ISzAlloc {
pub Alloc: Option<unsafe extern "C" fn(p: ISzAllocPtr, size: usize) -> *mut c_void>,
pub Free: Option<unsafe extern "C" fn(p: ISzAllocPtr, address: *mut c_void)>,
}Fields§
§Alloc: Option<unsafe extern "C" fn(p: ISzAllocPtr, size: usize) -> *mut c_void>§Free: Option<unsafe extern "C" fn(p: ISzAllocPtr, address: *mut c_void)>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ISzAlloc
impl RefUnwindSafe for ISzAlloc
impl Send for ISzAlloc
impl Sync for ISzAlloc
impl Unpin for ISzAlloc
impl UnwindSafe for ISzAlloc
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