Trait moving_gc_arena::traverse::Visitor[][src]

pub trait Visitor<T, State> {
    fn visit(&mut self, st: State, e: Entry<'_, T>);
}

A Visitor contains the callbacks for each position in the traversal. The State parameter is open so that it can be reported by the particular choice of Strategy.

Required methods

fn visit(&mut self, st: State, e: Entry<'_, T>)[src]

Loading content...

Implementors

impl<Pre, Post, T> Visitor<T, PreAndPost> for PrePostVisitor<Pre, Post> where
    Pre: FnMut(Entry<'_, T>),
    Post: FnMut(Entry<'_, T>), 
[src]

impl<Pre, Post, T> Visitor<T, PreOnly> for PrePostVisitor<Pre, Post> where
    Pre: FnMut(Entry<'_, T>), 
[src]

Loading content...