pub struct TreeCursor<'a> { /* private fields */ }Implementations§
Source§impl<'tree> TreeCursor<'tree>
impl<'tree> TreeCursor<'tree>
pub fn goto_parent(&mut self) -> bool
pub fn goto_next_sibling(&mut self) -> bool
pub fn goto_previous_sibling(&mut self) -> bool
pub fn goto_first_child(&mut self) -> bool
pub fn goto_last_child(&mut self) -> bool
pub fn goto_first_child_for_byte(&mut self, byte_idx: u32) -> Option<u32>
pub fn reset(&mut self, node: &Node<'tree>)
pub fn node(&self) -> Node<'tree>
pub fn field_name(&self) -> Option<&'tree str>
Trait Implementations§
Source§impl Clone for TreeCursor<'_>
impl Clone for TreeCursor<'_>
Source§impl Drop for TreeCursor<'_>
impl Drop for TreeCursor<'_>
Source§impl<'tree> IntoIterator for &'tree mut TreeCursor<'tree>
impl<'tree> IntoIterator for &'tree mut TreeCursor<'tree>
Auto Trait Implementations§
impl<'a> Freeze for TreeCursor<'a>
impl<'a> RefUnwindSafe for TreeCursor<'a>
impl<'a> !Send for TreeCursor<'a>
impl<'a> !Sync for TreeCursor<'a>
impl<'a> Unpin for TreeCursor<'a>
impl<'a> UnwindSafe for TreeCursor<'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