pub enum Visited<'w, 'a> {
Stmt(&'w Stmt<'a>),
Expr(&'w Expr<'a>),
}Expand description
A node for_each_node hands its visitor.
Variants§
Auto Trait Implementations§
impl<'w, 'a> Freeze for Visited<'w, 'a>
impl<'w, 'a> RefUnwindSafe for Visited<'w, 'a>
impl<'w, 'a> Send for Visited<'w, 'a>
impl<'w, 'a> Sync for Visited<'w, 'a>
impl<'w, 'a> Unpin for Visited<'w, 'a>
impl<'w, 'a> UnsafeUnpin for Visited<'w, 'a>
impl<'w, 'a> UnwindSafe for Visited<'w, 'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more