Struct tree_sitter::LanguageError [−][src]
pub struct LanguageError { /* fields omitted */ }
Expand description
An error that occurred when trying to assign an incompatible Language
to a Parser
.
Trait Implementations
impl Debug for LanguageError
[src]
impl Debug for LanguageError
[src]impl Display for LanguageError
[src]
impl Display for LanguageError
[src]impl Error for LanguageError
[src]
impl Error for LanguageError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl PartialEq<LanguageError> for LanguageError
[src]
impl PartialEq<LanguageError> for LanguageError
[src]fn eq(&self, other: &LanguageError) -> bool
[src]
fn eq(&self, other: &LanguageError) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &LanguageError) -> bool
[src]
fn ne(&self, other: &LanguageError) -> bool
[src]This method tests for !=
.
impl Eq for LanguageError
[src]
impl StructuralEq for LanguageError
[src]
impl StructuralPartialEq for LanguageError
[src]
Auto Trait Implementations
impl RefUnwindSafe for LanguageError
impl Send for LanguageError
impl Sync for LanguageError
impl Unpin for LanguageError
impl UnwindSafe for LanguageError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more