#[repr(u8)]pub enum TotalPowerAvail {
Power75W = 0,
Power150W = 1,
Power225W = 2,
Power300W = 3,
}Variants§
Trait Implementations§
Source§impl Clone for TotalPowerAvail
impl Clone for TotalPowerAvail
impl Copy for TotalPowerAvail
Source§impl Debug for TotalPowerAvail
impl Debug for TotalPowerAvail
impl Eq for TotalPowerAvail
Source§impl Ord for TotalPowerAvail
impl Ord for TotalPowerAvail
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TotalPowerAvail
impl PartialEq for TotalPowerAvail
Source§impl PartialOrd for TotalPowerAvail
impl PartialOrd for TotalPowerAvail
impl StructuralPartialEq for TotalPowerAvail
Source§impl TryFrom<u8> for TotalPowerAvail
impl TryFrom<u8> for TotalPowerAvail
Source§type Error = TryFromPrimitiveError<TotalPowerAvail>
type Error = TryFromPrimitiveError<TotalPowerAvail>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for TotalPowerAvail
impl TryFromPrimitive for TotalPowerAvail
Auto Trait Implementations§
impl Freeze for TotalPowerAvail
impl RefUnwindSafe for TotalPowerAvail
impl Send for TotalPowerAvail
impl Sync for TotalPowerAvail
impl Unpin for TotalPowerAvail
impl UnsafeUnpin for TotalPowerAvail
impl UnwindSafe for TotalPowerAvail
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