[][src]Struct moving_gc_arena::traverse::PrePostVisitor

pub struct PrePostVisitor<Pre, Post> {
    pub pre: Pre,
    pub post: Post,
}

A visitor which contains a pre and post function. It can be used both for PreAndPost and PreOnly states.

Fields

pre: Prepost: Post

Trait Implementations

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]

Auto Trait Implementations

impl<Pre, Post> Send for PrePostVisitor<Pre, Post> where
    Post: Send,
    Pre: Send

impl<Pre, Post> Sync for PrePostVisitor<Pre, Post> where
    Post: Sync,
    Pre: Sync

impl<Pre, Post> Unpin for PrePostVisitor<Pre, Post> where
    Post: Unpin,
    Pre: Unpin

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.