Struct tree_sitter::IncludedRangesError
source · pub struct IncludedRangesError(pub usize);
Expand description
An error that occurred in Parser::set_included_ranges
.
Tuple Fields§
§0: usize
Trait Implementations§
source§impl Debug for IncludedRangesError
impl Debug for IncludedRangesError
source§impl Display for IncludedRangesError
impl Display for IncludedRangesError
source§impl Error for IncludedRangesError
impl Error for IncludedRangesError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<IncludedRangesError> for IncludedRangesError
impl PartialEq<IncludedRangesError> for IncludedRangesError
source§fn eq(&self, other: &IncludedRangesError) -> bool
fn eq(&self, other: &IncludedRangesError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IncludedRangesError
impl StructuralEq for IncludedRangesError
impl StructuralPartialEq for IncludedRangesError
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§
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