pub struct NodeWalker<'f> { /* private fields */ }Expand description
iterator of Arena::walk: node ids (and value tokens when attributes is set) in document order
Implementations§
Source§impl<'f> NodeWalker<'f>
impl<'f> NodeWalker<'f>
pub fn new(node: u32, filter: Option<WalkerFilter<'f>>, reverse: bool) -> Self
pub fn with_options(node: u32, options: WalkerOptions<'f>) -> Self
pub fn next(&mut self, arena: &Arena) -> Option<u32>
Auto Trait Implementations§
impl<'f> !RefUnwindSafe for NodeWalker<'f>
impl<'f> !Send for NodeWalker<'f>
impl<'f> !Sync for NodeWalker<'f>
impl<'f> !UnwindSafe for NodeWalker<'f>
impl<'f> Forget for NodeWalker<'f>
impl<'f> Freeze for NodeWalker<'f>
impl<'f> Move for NodeWalker<'f>
impl<'f> Unpin for NodeWalker<'f>
impl<'f> UnsafeUnpin for NodeWalker<'f>
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