pub enum GCAlgorithm {
MarkSweep,
Copying,
Generational,
Incremental,
Concurrent,
ReferenceCounting,
Adaptive,
}Expand description
Available garbage collection algorithms
Variants§
MarkSweep
Mark and sweep collection
Copying
Copying collection
Generational
Generational collection
Incremental
Incremental collection
Concurrent
Concurrent collection
ReferenceCounting
Reference counting
Adaptive
Adaptive algorithm selection
Trait Implementations§
Source§impl Clone for GCAlgorithm
impl Clone for GCAlgorithm
Source§fn clone(&self) -> GCAlgorithm
fn clone(&self) -> GCAlgorithm
Returns a duplicate 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 GCAlgorithm
impl Debug for GCAlgorithm
Source§impl PartialEq for GCAlgorithm
impl PartialEq for GCAlgorithm
impl StructuralPartialEq for GCAlgorithm
Auto Trait Implementations§
impl Freeze for GCAlgorithm
impl RefUnwindSafe for GCAlgorithm
impl Send for GCAlgorithm
impl Sync for GCAlgorithm
impl Unpin for GCAlgorithm
impl UnsafeUnpin for GCAlgorithm
impl UnwindSafe for GCAlgorithm
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§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