pub struct IAllocatorFunctorVtbl {
pub Allocate: fn(this: *mut c_void, num: u32, elem_size: u32) -> bool,
pub Reallocate: fn(this: *mut c_void, min_new_size_items: u32, front_copy_count: u32, back_copy_count: u32, elem_size: u32) -> bool,
pub Deallocate: fn(this: *mut c_void) -> c_void,
pub CxxDrop: fn(this: *mut c_void) -> c_void,
}
Fields§
§Allocate: fn(this: *mut c_void, num: u32, elem_size: u32) -> bool
§Reallocate: fn(this: *mut c_void, min_new_size_items: u32, front_copy_count: u32, back_copy_count: u32, elem_size: u32) -> bool
§Deallocate: fn(this: *mut c_void) -> c_void
§CxxDrop: fn(this: *mut c_void) -> c_void
~IAllocatorFunctor
Trait Implementations§
Source§impl Debug for IAllocatorFunctorVtbl
impl Debug for IAllocatorFunctorVtbl
Source§impl Hash for IAllocatorFunctorVtbl
impl Hash for IAllocatorFunctorVtbl
Source§impl Ord for IAllocatorFunctorVtbl
impl Ord for IAllocatorFunctorVtbl
Source§fn cmp(&self, other: &IAllocatorFunctorVtbl) -> Ordering
fn cmp(&self, other: &IAllocatorFunctorVtbl) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IAllocatorFunctorVtbl
impl PartialEq for IAllocatorFunctorVtbl
Source§impl PartialOrd for IAllocatorFunctorVtbl
impl PartialOrd for IAllocatorFunctorVtbl
impl Eq for IAllocatorFunctorVtbl
impl StructuralPartialEq for IAllocatorFunctorVtbl
Auto Trait Implementations§
impl Freeze for IAllocatorFunctorVtbl
impl RefUnwindSafe for IAllocatorFunctorVtbl
impl Send for IAllocatorFunctorVtbl
impl Sync for IAllocatorFunctorVtbl
impl Unpin for IAllocatorFunctorVtbl
impl UnwindSafe for IAllocatorFunctorVtbl
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