Struct zerogc::epsilon::EpsilonCollectorId [−][src]
pub struct EpsilonCollectorId { /* fields omitted */ }
Expand description
The id for an EpsilonSystem
All epsilon collectors have the same id, regardless of the system they were originally allocated from. It is equivalent to [
Trait Implementations
type ArrayPtr = FatArrayPtr<Self>
type ArrayPtr = FatArrayPtr<Self>
We use fat-pointers for arrays,
so that we can transmute from &'static [T]
-> GcArray
type System = EpsilonSystem
type System = EpsilonSystem
The type of the garbage collector system
type Context = EpsilonContext
type Context = EpsilonContext
The type of GcContext associated with this id.
type RawVec = EpsilonRawVec<'gc, T>
type RawVec = EpsilonRawVec<'gc, T>
Resolve the length of the specified array
Perform a write barrier before writing to a garbage collected field Read more
Resolve the length of the specified GcArray
impl<'gc, 'new_gc, T: GcSafe<'gc, EpsilonCollectorId>> GcRebrand<'new_gc, EpsilonCollectorId> for EpsilonRawVec<'gc, T> where
T: GcRebrand<'new_gc, EpsilonCollectorId>,
T::Branded: Sized,
impl<'gc, 'new_gc, T: GcSafe<'gc, EpsilonCollectorId>> GcRebrand<'new_gc, EpsilonCollectorId> for EpsilonRawVec<'gc, T> where
T: GcRebrand<'new_gc, EpsilonCollectorId>,
T::Branded: Sized,
type Branded = EpsilonRawVec<'new_gc, T::Branded>
type Branded = EpsilonRawVec<'new_gc, T::Branded>
This type with all garbage collected lifetimes
changed to 'new_gc
Read more
impl<'new_gc, Id: CollectorId> GcRebrand<'new_gc, Id> for EpsilonCollectorId where
Self: 'static,
impl<'new_gc, Id: CollectorId> GcRebrand<'new_gc, Id> for EpsilonCollectorId where
Self: 'static,
impl<'gc, T: GcSafe<'gc, EpsilonCollectorId>> GcSafe<'gc, EpsilonCollectorId> for EpsilonRawVec<'gc, T> where
T: GcSafe<'gc, EpsilonCollectorId>,
T: Trace,
impl<'gc, T: GcSafe<'gc, EpsilonCollectorId>> GcSafe<'gc, EpsilonCollectorId> for EpsilonRawVec<'gc, T> where
T: GcSafe<'gc, EpsilonCollectorId>,
T: Trace,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for EpsilonCollectorId
impl Send for EpsilonCollectorId
impl Sync for EpsilonCollectorId
impl Unpin for EpsilonCollectorId
impl UnwindSafe for EpsilonCollectorId
Blanket Implementations
Mutably borrows from an owned value. Read more