pub enum PowerLevelId {
Index(u8),
Sleep,
}Expand description
Identifier of a power level.
Variants§
Trait Implementations§
Source§impl Clone for PowerLevelId
impl Clone for PowerLevelId
Source§fn clone(&self) -> PowerLevelId
fn clone(&self) -> PowerLevelId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PowerLevelId
impl Debug for PowerLevelId
Source§impl Hash for PowerLevelId
impl Hash for PowerLevelId
Source§impl PartialEq for PowerLevelId
impl PartialEq for PowerLevelId
Source§fn eq(&self, other: &PowerLevelId) -> bool
fn eq(&self, other: &PowerLevelId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PowerLevelId
impl Eq for PowerLevelId
impl StructuralPartialEq for PowerLevelId
Auto Trait Implementations§
impl Freeze for PowerLevelId
impl RefUnwindSafe for PowerLevelId
impl Send for PowerLevelId
impl Sync for PowerLevelId
impl Unpin for PowerLevelId
impl UnsafeUnpin for PowerLevelId
impl UnwindSafe for PowerLevelId
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