#[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

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.