Struct tree_sitter::IncludedRangesError [−][src]
pub struct IncludedRangesError(pub usize);
Expand description
An error that occurred in Parser::set_included_ranges
.
Trait Implementations
impl Debug for IncludedRangesError
[src]
impl Debug for IncludedRangesError
[src]impl Display for IncludedRangesError
[src]
impl Display for IncludedRangesError
[src]impl Error for IncludedRangesError
[src]
impl Error for IncludedRangesError
[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<IncludedRangesError> for IncludedRangesError
[src]
impl PartialEq<IncludedRangesError> for IncludedRangesError
[src]fn eq(&self, other: &IncludedRangesError) -> bool
[src]
fn eq(&self, other: &IncludedRangesError) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &IncludedRangesError) -> bool
[src]
fn ne(&self, other: &IncludedRangesError) -> bool
[src]This method tests for !=
.
impl Eq for IncludedRangesError
[src]
impl StructuralEq for IncludedRangesError
[src]
impl StructuralPartialEq for IncludedRangesError
[src]
Auto Trait Implementations
impl RefUnwindSafe for IncludedRangesError
impl Send for IncludedRangesError
impl Sync for IncludedRangesError
impl Unpin for IncludedRangesError
impl UnwindSafe for IncludedRangesError
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