#[repr(i32)]pub enum AllocFunction {
Malloc = 0,
Calloc = 1,
Realloc = 2,
}
Variants§
Trait Implementations§
Source§impl Clone for AllocFunction
impl Clone for AllocFunction
Source§fn clone(&self) -> AllocFunction
fn clone(&self) -> AllocFunction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AllocFunction
impl Debug for AllocFunction
Source§impl Hash for AllocFunction
impl Hash for AllocFunction
Source§impl PartialEq for AllocFunction
impl PartialEq for AllocFunction
impl Copy for AllocFunction
impl Eq for AllocFunction
impl StructuralPartialEq for AllocFunction
Auto Trait Implementations§
impl Freeze for AllocFunction
impl RefUnwindSafe for AllocFunction
impl Send for AllocFunction
impl Sync for AllocFunction
impl Unpin for AllocFunction
impl UnwindSafe for AllocFunction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Filterable for T
impl<T> Filterable for T
Source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more