Struct tree_sitter::Range
source · pub struct Range {
pub start_byte: usize,
pub end_byte: usize,
pub start_point: Point,
pub end_point: Point,
}
Expand description
A range of positions in a multi-line text document, both in terms of bytes and of rows and columns.
Fields§
§start_byte: usize
§end_byte: usize
§start_point: Point
§end_point: Point
Trait Implementations§
source§impl PartialEq<Range> for Range
impl PartialEq<Range> for Range
impl Copy for Range
impl Eq for Range
impl StructuralEq for Range
impl StructuralPartialEq for Range
Auto Trait Implementations§
impl RefUnwindSafe for Range
impl Send for Range
impl Sync for Range
impl Unpin for Range
impl UnwindSafe for Range
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