Enum alloc_no_stdlib::AllocatorC
source · [−]pub enum AllocatorC {
Calloc(unsafe extern "C" fn(_: usize, _: usize) -> *mut u8),
Malloc(unsafe extern "C" fn(_: usize) -> *mut u8),
Custom(fn(_: usize) -> *mut u8),
}
Variants
Calloc(unsafe extern "C" fn(_: usize, _: usize) -> *mut u8)
Malloc(unsafe extern "C" fn(_: usize) -> *mut u8)
Custom(fn(_: usize) -> *mut u8)
Auto Trait Implementations
impl RefUnwindSafe for AllocatorC
impl Send for AllocatorC
impl Sync for AllocatorC
impl Unpin for AllocatorC
impl UnwindSafe for AllocatorC
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