#[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_void
mem_release: extern "C" fn(_: *const AwsCAllocator, _: *mut c_void)
mem_realloc: extern "C" fn(_: *const AwsCAllocator, _: *mut c_void, _: usize, _: usize) -> *mut c_void
mem_calloc: extern "C" fn(_: *const AwsCAllocator, _: usize, _: usize) -> *mut c_void
Trait Implementations
impl Send for AwsCAllocator
impl Sync for AwsCAllocator
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more