pub enum Range<T: ToCss> {
AtLeast(T),
AtMost(T),
Exact(T),
}Expand description
An enumeration that represents a ranged value.
Variants§
AtLeast(T)
At least the inner value.
AtMost(T)
At most the inner value.
Exact(T)
Exactly the inner value.
Trait Implementations§
Source§impl<T: Ord + ToCss> Ord for Range<T>
impl<T: Ord + ToCss> Ord for Range<T>
Source§impl<T: PartialOrd + ToCss> PartialOrd for Range<T>
impl<T: PartialOrd + ToCss> PartialOrd for Range<T>
impl<T: Eq + ToCss> Eq for Range<T>
impl<T: ToCss> StructuralPartialEq for Range<T>
Auto Trait Implementations§
impl<T> Freeze for Range<T>where
T: Freeze,
impl<T> RefUnwindSafe for Range<T>where
T: RefUnwindSafe,
impl<T> Send for Range<T>where
T: Send,
impl<T> Sync for Range<T>where
T: Sync,
impl<T> Unpin for Range<T>where
T: Unpin,
impl<T> UnwindSafe for Range<T>where
T: UnwindSafe,
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