#[non_exhaustive]#[repr(u8)]pub enum RangeType {
RangePoint = 0,
RangeStart = 1,
RangeEnd = 2,
}Expand description
\brief Type of range.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Ord for RangeType
impl Ord for RangeType
Source§impl PartialOrd for RangeType
impl PartialOrd for RangeType
impl Copy for RangeType
impl Eq for RangeType
impl StructuralPartialEq for RangeType
Auto Trait Implementations§
impl Freeze for RangeType
impl RefUnwindSafe for RangeType
impl Send for RangeType
impl Sync for RangeType
impl Unpin for RangeType
impl UnsafeUnpin for RangeType
impl UnwindSafe for RangeType
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