[][src]Struct tree_sitter::TreeCursor

pub struct TreeCursor<'a>(_, _);

Methods

impl<'a> TreeCursor<'a>[src]

pub fn node(&self) -> Node<'a>[src]

pub fn goto_first_child(&mut self) -> bool[src]

pub fn goto_parent(&mut self) -> bool[src]

pub fn goto_next_sibling(&mut self) -> bool[src]

pub fn goto_first_child_for_index(&mut self, index: usize) -> Option<usize>[src]

pub fn reset(&mut self, node: Node<'a>)[src]

Trait Implementations

impl<'a> Drop for TreeCursor<'a>[src]

Auto Trait Implementations

impl<'a> !Send for TreeCursor<'a>

impl<'a> !Sync for TreeCursor<'a>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]