pub struct Path<'gc> {
pub parent: &'gc Node<'gc>,
pub field: NodeField,
}Expand description
The path to the node currently being visited: its parent and the field of
the parent it occupies. Mirrors juno’s Path.
Fields§
§parent: &'gc Node<'gc>The node that owns the field being visited.
field: NodeFieldWhich structural child field of parent the visited node occupies.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'gc> !RefUnwindSafe for Path<'gc>
impl<'gc> !Send for Path<'gc>
impl<'gc> !Sync for Path<'gc>
impl<'gc> !UnwindSafe for Path<'gc>
impl<'gc> Freeze for Path<'gc>
impl<'gc> Unpin for Path<'gc>
impl<'gc> UnsafeUnpin for Path<'gc>
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