pub enum IntervalType {
Opened,
OpenedUndef,
Closed,
ClosedUndef,
}Expand description
Enumeration of range interval types.
Variants§
Opened
Open-end interval with defined value, like (1.., ..10), ]1.. or ..10[.
OpenedUndef
Open-end interval without value, like (.., ..), ].. or ..[.
Closed
Closed-end interval with defined value, like [1.. or ..10].
ClosedUndef
Closed-end interval without value, like [.. or ..].
Implementations§
Trait Implementations§
Source§impl Clone for IntervalType
impl Clone for IntervalType
Source§fn clone(&self) -> IntervalType
fn clone(&self) -> IntervalType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IntervalType
impl Debug for IntervalType
Source§impl Display for IntervalType
impl Display for IntervalType
Source§impl PartialEq for IntervalType
impl PartialEq for IntervalType
impl Copy for IntervalType
impl Eq for IntervalType
impl StructuralPartialEq for IntervalType
Auto Trait Implementations§
impl Freeze for IntervalType
impl RefUnwindSafe for IntervalType
impl Send for IntervalType
impl Sync for IntervalType
impl Unpin for IntervalType
impl UnsafeUnpin for IntervalType
impl UnwindSafe for IntervalType
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