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 ==
.