#[repr(C)]pub struct lzma_allocator {
pub alloc: Option<extern "C" fn(_: *mut c_void, _: size_t, _: size_t) -> *mut c_void>,
pub free: Option<extern "C" fn(_: *mut c_void, _: *mut c_void)>,
pub opaque: *mut c_void,
}
Fields§
§alloc: Option<extern "C" fn(_: *mut c_void, _: size_t, _: size_t) -> *mut c_void>
§free: Option<extern "C" fn(_: *mut c_void, _: *mut c_void)>
§opaque: *mut c_void
Auto Trait Implementations§
impl Freeze for lzma_allocator
impl RefUnwindSafe for lzma_allocator
impl !Send for lzma_allocator
impl !Sync for lzma_allocator
impl Unpin for lzma_allocator
impl UnwindSafe for lzma_allocator
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