pub enum GcAge {
New,
Survival,
Old0,
Old1,
Old,
Touched1,
Touched2,
}Expand description
Object age used by Lua’s generational collector.
Mirrors G_NEW through G_TOUCHED2 in lgc.h.
Variants§
Implementations§
Trait Implementations§
impl Copy for GcAge
impl Eq for GcAge
impl StructuralPartialEq for GcAge
Auto Trait Implementations§
impl Freeze for GcAge
impl RefUnwindSafe for GcAge
impl Send for GcAge
impl Sync for GcAge
impl Unpin for GcAge
impl UnsafeUnpin for GcAge
impl UnwindSafe for GcAge
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