pub enum GcObjectType {
MonkeyObject,
FunctionBytecode,
Shape,
VarRef,
AsyncFunction,
MonkeyContext,
}Expand description
GC object type tags, adapted from QuickJS JSGCObjectTypeEnum.
Variants§
Trait Implementations§
Source§impl Clone for GcObjectType
impl Clone for GcObjectType
Source§fn clone(&self) -> GcObjectType
fn clone(&self) -> GcObjectType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GcObjectType
Source§impl Debug for GcObjectType
impl Debug for GcObjectType
impl Eq for GcObjectType
Source§impl PartialEq for GcObjectType
impl PartialEq for GcObjectType
Source§fn eq(&self, other: &GcObjectType) -> bool
fn eq(&self, other: &GcObjectType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GcObjectType
Auto Trait Implementations§
impl Freeze for GcObjectType
impl RefUnwindSafe for GcObjectType
impl Send for GcObjectType
impl Sync for GcObjectType
impl Unpin for GcObjectType
impl UnsafeUnpin for GcObjectType
impl UnwindSafe for GcObjectType
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