Struct tree_sitter_language::LanguageFn
source · #[repr(transparent)]pub struct LanguageFn(/* private fields */);
Expand description
LanguageFn
wraps a C function that returns a pointer to a tree-sitter grammer.
Implementations§
source§impl LanguageFn
impl LanguageFn
Trait Implementations§
source§impl Clone for LanguageFn
impl Clone for LanguageFn
source§fn clone(&self) -> LanguageFn
fn clone(&self) -> LanguageFn
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 LanguageFn
Auto Trait Implementations§
impl RefUnwindSafe for LanguageFn
impl Send for LanguageFn
impl Sync for LanguageFn
impl Unpin for LanguageFn
impl UnwindSafe for LanguageFn
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