pub enum Level {
Show 20 variants
L1,
L1B,
L1_1,
L1_2,
L1_3,
L2_0,
L2_1,
L2_2,
L3,
L3_1,
L3_2,
L4,
L4_1,
L4_2,
L5,
L5_1,
L5_2,
L6,
L6_1,
L6_2,
}
Variants
L1
L1B
L1_1
L1_2
L1_3
L2_0
L2_1
L2_2
L3
L3_1
L3_2
L4
L4_1
L4_2
L5
L5_1
L5_2
L6
L6_1
L6_2
Implementations
Trait Implementations
sourceimpl Ord for Level
impl Ord for Level
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialOrd<Level> for Level
impl PartialOrd<Level> for Level
sourcefn partial_cmp(&self, other: &Level) -> Option<Ordering>
fn partial_cmp(&self, other: &Level) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Level
impl Eq for Level
impl StructuralEq for Level
impl StructuralPartialEq for Level
Auto Trait Implementations
impl RefUnwindSafe for Level
impl Send for Level
impl Sync for Level
impl Unpin for Level
impl UnwindSafe for Level
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more