#[repr(C)]
pub struct AwsCAllocator { pub mem_acquire: extern "C" fn(_: *const AwsCAllocator, _: usize) -> *mut c_void, pub mem_release: extern "C" fn(_: *const AwsCAllocator, _: *mut c_void), pub mem_realloc: extern "C" fn(_: *const AwsCAllocator, _: *mut c_void, _: usize, _: usize) -> *mut c_void, pub mem_calloc: extern "C" fn(_: *const AwsCAllocator, _: usize, _: usize) -> *mut c_void, /* private fields */ }

Fields

mem_acquire: extern "C" fn(_: *const AwsCAllocator, _: usize) -> *mut c_voidmem_release: extern "C" fn(_: *const AwsCAllocator, _: *mut c_void)mem_realloc: extern "C" fn(_: *const AwsCAllocator, _: *mut c_void, _: usize, _: usize) -> *mut c_voidmem_calloc: extern "C" fn(_: *const AwsCAllocator, _: usize, _: usize) -> *mut c_void

Trait Implementations

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.