Struct tree_sitter::QueryMatch
source · pub struct QueryMatch<'cursor, 'tree> {
pub pattern_index: usize,
pub captures: &'cursor [QueryCapture<'tree>],
/* private fields */
}
Fields§
§pattern_index: usize
§captures: &'cursor [QueryCapture<'tree>]
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'cursor, 'tree> Freeze for QueryMatch<'cursor, 'tree>
impl<'cursor, 'tree> RefUnwindSafe for QueryMatch<'cursor, 'tree>
impl<'cursor, 'tree> !Send for QueryMatch<'cursor, 'tree>
impl<'cursor, 'tree> !Sync for QueryMatch<'cursor, 'tree>
impl<'cursor, 'tree> Unpin for QueryMatch<'cursor, 'tree>
impl<'cursor, 'tree> UnwindSafe for QueryMatch<'cursor, 'tree>
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