Struct gluon_base::types::ControlVisitation
source · pub struct ControlVisitation<F: ?Sized>(pub F);
Expand description
Wrapper type which allows functions to control how to traverse the members of the type
Tuple Fields
0: F
Trait Implementations
sourceimpl<F, I, T> TypeVisitor<I, T> for ControlVisitation<F>where
F: FnMut(&T) -> Option<T>,
impl<F, I, T> TypeVisitor<I, T> for ControlVisitation<F>where
F: FnMut(&T) -> Option<T>,
Auto Trait Implementations
impl<F: ?Sized> RefUnwindSafe for ControlVisitation<F>where
F: RefUnwindSafe,
impl<F: ?Sized> Send for ControlVisitation<F>where
F: Send,
impl<F: ?Sized> Sync for ControlVisitation<F>where
F: Sync,
impl<F: ?Sized> Unpin for ControlVisitation<F>where
F: Unpin,
impl<F: ?Sized> UnwindSafe for ControlVisitation<F>where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more