pub struct C;
Trait Implementations§
Source§impl SupportedLanguage for C
impl SupportedLanguage for C
Source§fn query(&self, name: &str) -> String
fn query(&self, name: &str) -> String
Given an identifier(name)
this should produce a string that is the sexp of a query
that finds all matches of function-like things with given name Read more
Source§fn file_exts(&self) -> &'static [&'static str]
fn file_exts(&self) -> &'static [&'static str]
The list of file extensions used for this language.
Source§fn language(&self) -> Language
fn language(&self) -> Language
The
tree_sitter::Language
for this languageimpl Copy for C
Auto Trait Implementations§
impl Freeze for C
impl RefUnwindSafe for C
impl Send for C
impl Sync for C
impl Unpin for C
impl UnwindSafe for C
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