#[repr(u16)]pub enum PowerLevel {
Standby = 0,
Enabled = 65_535,
}Variants§
Trait Implementations§
Source§impl Clone for PowerLevel
impl Clone for PowerLevel
Source§fn clone(&self) -> PowerLevel
fn clone(&self) -> PowerLevel
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 PowerLevel
impl Debug for PowerLevel
Source§impl PartialEq for PowerLevel
impl PartialEq for PowerLevel
Source§fn eq(&self, other: &PowerLevel) -> bool
fn eq(&self, other: &PowerLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<u16> for PowerLevel
impl TryFrom<u16> for PowerLevel
impl Copy for PowerLevel
impl Eq for PowerLevel
impl StructuralPartialEq for PowerLevel
Auto Trait Implementations§
impl Freeze for PowerLevel
impl RefUnwindSafe for PowerLevel
impl Send for PowerLevel
impl Sync for PowerLevel
impl Unpin for PowerLevel
impl UnsafeUnpin for PowerLevel
impl UnwindSafe for PowerLevel
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