pub struct Visitor<Parent, Current> {
pub parent: Parent,
pub current: Current,
}Expand description
Generic visitor type.
Fields§
§parent: ParentVisitor’s parent.
current: CurrentCurrently visited.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Parent, Current> Freeze for Visitor<Parent, Current>
impl<Parent, Current> RefUnwindSafe for Visitor<Parent, Current>where
Parent: RefUnwindSafe,
Current: RefUnwindSafe,
impl<Parent, Current> Send for Visitor<Parent, Current>
impl<Parent, Current> Sync for Visitor<Parent, Current>
impl<Parent, Current> Unpin for Visitor<Parent, Current>
impl<Parent, Current> UnwindSafe for Visitor<Parent, Current>where
Parent: UnwindSafe,
Current: UnwindSafe,
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