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 Freeze for LanguageFn
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)