Struct gluon_base::types::ControlVisitation [−][src]
pub struct ControlVisitation<F: ?Sized>(pub F);
Wrapper type which allows functions to control how to traverse the members of the type
Trait Implementations
impl<F, I, T> TypeVisitor<I, T> for ControlVisitation<F> where
F: FnMut(&T) -> Option<T>,
[src]
impl<F, I, T> TypeVisitor<I, T> for ControlVisitation<F> where
F: FnMut(&T) -> Option<T>,
fn visit(&mut self, typ: &T) -> Option<T> where
T: Deref<Target = Type<I, T>> + From<Type<I, T>> + Clone,
I: Clone,
[src]
fn visit(&mut self, typ: &T) -> Option<T> where
T: Deref<Target = Type<I, T>> + From<Type<I, T>> + Clone,
I: Clone,
impl<'a, F: ?Sized, T> Walker<'a, T> for ControlVisitation<F> where
F: FnMut(&'a T),
T: 'a,
[src]
impl<'a, F: ?Sized, T> Walker<'a, T> for ControlVisitation<F> where
F: FnMut(&'a T),
T: 'a,
Auto Trait Implementations
impl<F: ?Sized> Send for ControlVisitation<F> where
F: Send,
impl<F: ?Sized> Send for ControlVisitation<F> where
F: Send,
impl<F: ?Sized> Sync for ControlVisitation<F> where
F: Sync,
impl<F: ?Sized> Sync for ControlVisitation<F> where
F: Sync,