Struct tree_sitter_c2rust::ffi::TSQueryCursor
source · #[repr(C)]pub struct TSQueryCursor {Show 16 fields
pub query: *const TSQuery,
pub cursor: TSTreeCursor,
pub states: StackElement<*mut QueryState>,
pub finished_states: StackElement<*mut QueryState>,
pub capture_list_pool: CaptureListPool,
pub depth: c_uint,
pub max_start_depth: c_uint,
pub start_byte: c_uint,
pub end_byte: c_uint,
pub start_point: TSPoint,
pub end_point: TSPoint,
pub next_state_id: c_uint,
pub on_visible_node: bool,
pub ascending: bool,
pub halted: bool,
pub did_exceed_match_limit: bool,
}
Fields§
§query: *const TSQuery
§cursor: TSTreeCursor
§states: StackElement<*mut QueryState>
§finished_states: StackElement<*mut QueryState>
§capture_list_pool: CaptureListPool
§depth: c_uint
§max_start_depth: c_uint
§start_byte: c_uint
§end_byte: c_uint
§start_point: TSPoint
§end_point: TSPoint
§next_state_id: c_uint
§on_visible_node: bool
§ascending: bool
§halted: bool
§did_exceed_match_limit: bool
Trait Implementations§
source§impl Clone for TSQueryCursor
impl Clone for TSQueryCursor
source§fn clone(&self) -> TSQueryCursor
fn clone(&self) -> TSQueryCursor
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 TSQueryCursor
Auto Trait Implementations§
impl Freeze for TSQueryCursor
impl RefUnwindSafe for TSQueryCursor
impl !Send for TSQueryCursor
impl !Sync for TSQueryCursor
impl Unpin for TSQueryCursor
impl UnwindSafe for TSQueryCursor
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