Enum mozjs::jsapi::shadow::Zone_GCState
source · #[repr(u32)]pub enum Zone_GCState {
NoGC = 0,
Prepare = 1,
MarkBlackOnly = 2,
MarkBlackAndGray = 3,
Sweep = 4,
Finished = 5,
Compact = 6,
VerifyPreBarriers = 7,
Limit = 8,
}
Variants§
NoGC = 0
Prepare = 1
MarkBlackOnly = 2
MarkBlackAndGray = 3
Sweep = 4
Finished = 5
Compact = 6
VerifyPreBarriers = 7
Limit = 8
Trait Implementations§
source§impl Clone for Zone_GCState
impl Clone for Zone_GCState
source§fn clone(&self) -> Zone_GCState
fn clone(&self) -> Zone_GCState
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 Zone_GCState
impl Debug for Zone_GCState
source§impl Hash for Zone_GCState
impl Hash for Zone_GCState
source§impl PartialEq for Zone_GCState
impl PartialEq for Zone_GCState
impl Copy for Zone_GCState
impl Eq for Zone_GCState
impl StructuralPartialEq for Zone_GCState
Auto Trait Implementations§
impl Freeze for Zone_GCState
impl RefUnwindSafe for Zone_GCState
impl Send for Zone_GCState
impl Sync for Zone_GCState
impl Unpin for Zone_GCState
impl UnwindSafe for Zone_GCState
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more