Struct zerogc::dummy_impl::DummySystem[][src]

pub struct DummySystem { /* fields omitted */ }

A dummy implementation of [::zerogc::GcSystem] which is useful for testing

All methods panic and this should never be used in actual code.

Implementations

impl DummySystem[src]

pub fn new() -> Self[src]

Create a new fake system for testing

pub fn new_context(&self) -> DummyContext[src]

Create a DummyContext

There are few restrictions on this because it doesn’t actually do anything

Trait Implementations

impl Default for DummySystem[src]

impl GcSystem for DummySystem[src]

type Id = DummyCollectorId

The type of collector IDs given by this system

type Context = DummyContext

The type of contexts used in this sytem

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.