Struct zerogc::epsilon::EpsilonSystem
source · [−]pub struct EpsilonSystem { /* private fields */ }
Expand description
A dummy implementation of GcSystem which is useful for testing
WARNING: This never actually collects any memory.
Implementations
sourceimpl EpsilonSystem
impl EpsilonSystem
sourcepub fn new_context(&self) -> EpsilonContext
pub fn new_context(&self) -> EpsilonContext
Create a new EpsilonContext
There are few restrictions on this because it doesn’t actually do anything
Trait Implementations
sourceimpl Drop for EpsilonSystem
impl Drop for EpsilonSystem
sourceimpl GcSystem for EpsilonSystem
impl GcSystem for EpsilonSystem
type Id = EpsilonCollectorId
type Id = EpsilonCollectorId
The type of collector IDs given by this system
type Context = EpsilonContext
type Context = EpsilonContext
The type of contexts used in this sytem
Auto Trait Implementations
impl !RefUnwindSafe for EpsilonSystem
impl !Send for EpsilonSystem
impl !Sync for EpsilonSystem
impl Unpin for EpsilonSystem
impl !UnwindSafe for EpsilonSystem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more