Struct zerogc::dummy_impl::DummyContext [−][src]
pub struct DummyContext { /* fields omitted */ }
A dummy implementation of crate::GcSystem which is useful for testing
This just blindly allocates memory and doesn’t actually do any collection.
Trait Implementations
impl GcContext for DummyContext
[src]
impl GcContext for DummyContext
[src]type System = DummySystem
The system used with this context
type Id = DummyCollectorId
The type of ids used in the system
unsafe fn basic_safepoint<T: Trace>(&mut self, _value: &mut &mut T)
[src]
unsafe fn freeze(&mut self)
[src]
unsafe fn unfreeze(&mut self)
[src]
unsafe fn recurse_context<T, F, R>(&self, value: &mut &mut T, func: F) -> R where
T: Trace,
F: for<'gc> FnOnce(&'gc mut Self, &'gc mut T) -> R,
[src]
T: Trace,
F: for<'gc> FnOnce(&'gc mut Self, &'gc mut T) -> R,
Auto Trait Implementations
impl RefUnwindSafe for DummyContext
impl RefUnwindSafe for DummyContext
impl Send for DummyContext
impl Send for DummyContext
impl Sync for DummyContext
impl Sync for DummyContext
impl Unpin for DummyContext
impl Unpin for DummyContext
impl UnwindSafe for DummyContext
impl UnwindSafe for DummyContext
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;