Struct tree_sitter_c2rust::core::TSQuery
source · #[repr(C)]pub struct TSQuery {Show 13 fields
pub captures: SymbolTable,
pub predicate_values: SymbolTable,
pub capture_quantifiers: StackElement<*mut CaptureQuantifiers>,
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 c_ushort>,
pub string_buffer: StackElement<*mut c_char>,
pub repeat_symbols_with_rootless_patterns: StackElement<*mut c_ushort>,
pub language: *const TSLanguage,
pub wildcard_root_pattern_count: c_ushort,
}
Fields§
§captures: SymbolTable
§predicate_values: SymbolTable
§capture_quantifiers: StackElement<*mut CaptureQuantifiers>
§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 c_ushort>
§string_buffer: StackElement<*mut c_char>
§repeat_symbols_with_rootless_patterns: StackElement<*mut c_ushort>
§language: *const TSLanguage
§wildcard_root_pattern_count: c_ushort
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)