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]
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 Default for DummySystem
[src]fn default() -> DummySystem
[src]
impl GcSystem 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
impl RefUnwindSafe for DummySystem
impl RefUnwindSafe for DummySystem
impl Send for DummySystem
impl Send for DummySystem
impl Sync for DummySystem
impl Sync for DummySystem
impl Unpin for DummySystem
impl Unpin for DummySystem
impl UnwindSafe for DummySystem
impl UnwindSafe for DummySystem
Blanket Implementations
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]pub fn borrow(&self) -> &TⓘNotable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;
[src]
Notable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut TⓘNotable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;
[src]
Notable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;impl<'_, F> Future for &'_ mut F where
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;