Enum mozjs::jsapi::js::AllocFunction
source · #[repr(i32)]pub enum AllocFunction {
Malloc,
Calloc,
Realloc,
}
Variants§
Trait Implementations§
source§impl Clone for AllocFunction
impl Clone for AllocFunction
source§fn clone(&self) -> AllocFunction
fn clone(&self) -> AllocFunction
Returns a copy 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<AllocFunction> for AllocFunction
impl PartialEq<AllocFunction> for AllocFunction
source§fn eq(&self, other: &AllocFunction) -> bool
fn eq(&self, other: &AllocFunction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AllocFunction
impl Eq for AllocFunction
impl StructuralEq for AllocFunction
impl StructuralPartialEq for AllocFunction
Auto Trait Implementations§
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