#[repr(C)]pub struct TSQuery {
pub captures: SymbolTable,
pub capture_quantifiers: StackElement<*mut CaptureQuantifiers>,
pub predicate_values: SymbolTable,
pub steps: StackElement<*mut QueryStep>,
pub pattern_map: StackElement<*mut PatternEntry>,
pub predicate_steps: StackElement<*mut TSQueryPredicateStep>,
pub patterns: StackElement<*mut QueryPattern>,
pub step_offsets: StackElement<*mut StepOffset>,
pub negated_fields: StackElement<*mut u16>,
pub string_buffer: StackElement<*mut c_char>,
pub language: *const TSLanguage,
pub wildcard_root_pattern_count: u16,
}
Fields§
§captures: SymbolTable
§capture_quantifiers: StackElement<*mut CaptureQuantifiers>
§predicate_values: SymbolTable
§steps: StackElement<*mut QueryStep>
§pattern_map: StackElement<*mut PatternEntry>
§predicate_steps: StackElement<*mut TSQueryPredicateStep>
§patterns: StackElement<*mut QueryPattern>
§step_offsets: StackElement<*mut StepOffset>
§negated_fields: StackElement<*mut u16>
§string_buffer: StackElement<*mut c_char>
§language: *const TSLanguage
§wildcard_root_pattern_count: u16
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TSQuery
impl RefUnwindSafe for TSQuery
impl !Send for TSQuery
impl !Sync for TSQuery
impl Unpin for TSQuery
impl UnwindSafe for TSQuery
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