pub enum SpanType {
Inclusive,
Exclusive,
ExcludeTail,
ExcludeFront,
}
Expand description
How to interpret the locations of a Span.
Variants§
Inclusive
Includes the beginning and end locations
Exclusive
Exclude both beginning and end
ExcludeTail
Excludes last cell of selection
ExcludeFront
Excludes first cell of selection
Trait Implementations§
impl Eq for SpanType
impl StructuralPartialEq for SpanType
Auto Trait Implementations§
impl Freeze for SpanType
impl RefUnwindSafe for SpanType
impl Send for SpanType
impl Sync for SpanType
impl Unpin for SpanType
impl UnwindSafe for SpanType
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