pub enum InstRange {
RangeFrom,
RangeFull,
RangeInclusive,
RangeToInclusive,
RangeTo,
Range,
}
Expand description
Range limits of a range expression.
Variants§
RangeFrom
start..
.
RangeFull
..
.
RangeInclusive
start..=end
.
RangeToInclusive
..=end
.
RangeTo
..end
.
Range
start..end
.
Trait Implementations§
source§impl<'de> Deserialize<'de> for InstRange
impl<'de> Deserialize<'de> for InstRange
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for InstRange
Auto Trait Implementations§
impl RefUnwindSafe for InstRange
impl Send for InstRange
impl Sync for InstRange
impl Unpin for InstRange
impl UnwindSafe for InstRange
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