Trace

Trait Trace 

Source
pub trait Trace {
    // Provided method
    fn trace(&self, _cb: &mut impl FnMut(PlainRef)) { ... }
}

Provided Methods§

Source

fn trace(&self, _cb: &mut impl FnMut(PlainRef))

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Trace for ()

Source§

impl<T: Trace> Trace for Option<T>

Source§

fn trace(&self, cb: &mut impl FnMut(PlainRef))

Source§

impl<T: Trace> Trace for Box<T>

Source§

fn trace(&self, cb: &mut impl FnMut(PlainRef))

Source§

impl<T: Trace> Trace for Vec<T>

Source§

fn trace(&self, cb: &mut impl FnMut(PlainRef))

Source§

impl<T: Trace, U: Trace> Trace for (T, U)

Source§

fn trace(&self, cb: &mut impl FnMut(PlainRef))

Implementors§

Source§

impl Trace for Primitive

Source§

impl<T> Trace for MaybeRef<T>

Source§

impl<T> Trace for RcRef<T>

Source§

impl<T> Trace for Ref<T>