pub enum RangeKind {
Exclusive,
Inclusive,
}Expand description
Kind of range: exclusive (..) or inclusive (..=)
Variants§
Exclusive
Exclusive range: start..end (excludes end)
Inclusive
Inclusive range: start..=end (includes end)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RangeKind
impl<'de> Deserialize<'de> for RangeKind
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 RangeKind
impl Eq for RangeKind
impl StructuralPartialEq for RangeKind
Auto Trait Implementations§
impl Freeze for RangeKind
impl RefUnwindSafe for RangeKind
impl Send for RangeKind
impl Sync for RangeKind
impl Unpin for RangeKind
impl UnsafeUnpin for RangeKind
impl UnwindSafe for RangeKind
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