Struct tree_sitter_c2rust::ffi::TreeCursor
source · #[repr(C)]pub struct TreeCursor {
pub tree: *const TSTree,
pub stack: StackElement<*mut TreeCursorEntry>,
pub root_alias_symbol: c_ushort,
}
Fields§
§tree: *const TSTree
§stack: StackElement<*mut TreeCursorEntry>
§root_alias_symbol: c_ushort
Trait Implementations§
source§impl Clone for TreeCursor
impl Clone for TreeCursor
source§fn clone(&self) -> TreeCursor
fn clone(&self) -> TreeCursor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for TreeCursor
Auto Trait Implementations§
impl Freeze for TreeCursor
impl RefUnwindSafe for TreeCursor
impl !Send for TreeCursor
impl !Sync for TreeCursor
impl Unpin for TreeCursor
impl UnwindSafe for TreeCursor
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