#[repr(u8)]pub enum LegacyLevel {
L0 = 0,
L1 = 1,
L2 = 2,
L3 = 3,
L4 = 4,
L5 = 5,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for LegacyLevel
impl Clone for LegacyLevel
Source§fn clone(&self) -> LegacyLevel
fn clone(&self) -> LegacyLevel
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 LegacyLevel
impl Debug for LegacyLevel
Source§impl Default for LegacyLevel
impl Default for LegacyLevel
Source§fn default() -> LegacyLevel
fn default() -> LegacyLevel
Returns the “default value” for a type. Read more
Source§impl From<LegacyLevel> for u8
impl From<LegacyLevel> for u8
Source§fn from(level: LegacyLevel) -> Self
fn from(level: LegacyLevel) -> Self
Converts to this type from the input type.
Source§impl Hash for LegacyLevel
impl Hash for LegacyLevel
Source§impl Ord for LegacyLevel
impl Ord for LegacyLevel
Source§fn cmp(&self, other: &LegacyLevel) -> Ordering
fn cmp(&self, other: &LegacyLevel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LegacyLevel
impl PartialEq for LegacyLevel
Source§impl PartialOrd for LegacyLevel
impl PartialOrd for LegacyLevel
Source§impl TryFrom<u8> for LegacyLevel
impl TryFrom<u8> for LegacyLevel
impl Copy for LegacyLevel
impl Eq for LegacyLevel
impl StructuralPartialEq for LegacyLevel
Auto Trait Implementations§
impl Freeze for LegacyLevel
impl RefUnwindSafe for LegacyLevel
impl Send for LegacyLevel
impl Sync for LegacyLevel
impl Unpin for LegacyLevel
impl UnsafeUnpin for LegacyLevel
impl UnwindSafe for LegacyLevel
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