Struct tree_sitter_facade::Range
source · [−]pub struct Range { /* private fields */ }
Implementations
Trait Implementations
sourceimpl Ord for Range
impl Ord for Range
sourceimpl PartialOrd<Range> for Range
impl PartialOrd<Range> for Range
sourcefn partial_cmp(&self, other: &Range) -> Option<Ordering>
fn partial_cmp(&self, other: &Range) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for Range
impl RefUnwindSafe for Range
impl Send for Range
impl StructuralEq for Range
impl StructuralPartialEq for Range
impl Sync for Range
impl Unpin for Range
impl UnwindSafe for Range
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more