Struct gluon_vm::gc::Generation
source · pub struct Generation(_);
Implementations
sourceimpl Generation
impl Generation
pub fn is_root(self) -> bool
sourcepub fn disjoint() -> Generation
pub fn disjoint() -> Generation
Returns a generation which compared to any normal generation is always younger.
sourcepub fn is_parent_of(self, other: Generation) -> bool
pub fn is_parent_of(self, other: Generation) -> bool
Returns wheter self
is a parent of the other generation.
sourcepub fn can_contain_values_from(self, other: Generation) -> bool
pub fn can_contain_values_from(self, other: Generation) -> bool
Returns true if self
can contain a value from generation other
pub fn next(self) -> Generation
Trait Implementations
sourceimpl Clone for Generation
impl Clone for Generation
sourcefn clone(&self) -> Generation
fn clone(&self) -> Generation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Generation
impl Debug for Generation
sourceimpl Default for Generation
impl Default for Generation
sourcefn default() -> Generation
fn default() -> Generation
Returns the “default value” for a type. Read more
impl Copy for Generation
Auto Trait Implementations
impl RefUnwindSafe for Generation
impl Send for Generation
impl Sync for Generation
impl Unpin for Generation
impl UnwindSafe for Generation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more