pub struct Range {
pub start: usize,
pub end: usize,
pub linewise: bool,
}Expand description
A half-open byte range [start, end) plus how vim thinks about it.
Fields§
§start: usize§end: usize§linewise: boolInclusive (charwise) ranges include the char at end - 1’s semantic
target already — the flag exists for the spec footer and linewise ops.
Implementations§
Trait Implementations§
impl Copy for Range
impl Eq for Range
impl StructuralPartialEq for Range
Auto Trait Implementations§
impl Freeze for Range
impl RefUnwindSafe for Range
impl Send for Range
impl Sync for Range
impl Unpin for Range
impl UnsafeUnpin 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