pub enum RangeSpec {
Single(RangeEnding),
Double(RangeEnding, RangeEnding, RangeSearchInit),
}
Expand description
A range specification.
Variants§
Single(RangeEnding)
A range specification where only one end of the range was given.
Double(RangeEnding, RangeEnding, RangeSearchInit)
A range specification where both ends of the range were given.
Trait Implementations§
source§impl PartialEq for RangeSpec
impl PartialEq for RangeSpec
impl Eq for RangeSpec
impl StructuralPartialEq for RangeSpec
Auto Trait Implementations§
impl Freeze for RangeSpec
impl RefUnwindSafe for RangeSpec
impl Send for RangeSpec
impl Sync for RangeSpec
impl Unpin for RangeSpec
impl UnwindSafe for RangeSpec
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