[−][src]Struct moving_gc_arena::traverse::PrePostVisitor
A visitor which contains a pre and post function. It can be used both for PreAndPost and PreOnly states.
Fields
pre: Pre
post: Post
Trait Implementations
impl<Pre, Post, T> Visitor<T, PreAndPost> for PrePostVisitor<Pre, Post> where
Pre: FnMut(Entry<'_, T>),
Post: FnMut(Entry<'_, T>),
[src]
Pre: FnMut(Entry<'_, T>),
Post: FnMut(Entry<'_, T>),
pub fn visit(&mut self, st: PreAndPost, e: Entry<'_, T>)
[src]
impl<Pre, Post, T> Visitor<T, PreOnly> for PrePostVisitor<Pre, Post> where
Pre: FnMut(Entry<'_, T>),
[src]
Pre: FnMut(Entry<'_, T>),
Auto Trait Implementations
impl<Pre, Post> Send for PrePostVisitor<Pre, Post> where
Post: Send,
Pre: Send,
Post: Send,
Pre: Send,
impl<Pre, Post> Sync for PrePostVisitor<Pre, Post> where
Post: Sync,
Pre: Sync,
Post: Sync,
Pre: Sync,
impl<Pre, Post> Unpin for PrePostVisitor<Pre, Post> where
Post: Unpin,
Pre: Unpin,
Post: Unpin,
Pre: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,