pub enum SpanRange {
Range(Range<usize>),
RangeTo(RangeTo<usize>),
RangeFrom(RangeFrom<usize>),
RangeFull(RangeFull),
}Expand description
SpanRange encompasses the valid Ops::Range types for use with the Span trait.
Variants§
Auto Trait Implementations§
impl Freeze for SpanRange
impl RefUnwindSafe for SpanRange
impl Send for SpanRange
impl Sync for SpanRange
impl Unpin for SpanRange
impl UnwindSafe for SpanRange
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