pub enum PowerMetricDimensionIdleness {
Unknown = 0,
Idle = 1,
Active = 2,
}
Variants§
Trait Implementations§
source§impl AsEventCode for PowerMetricDimensionIdleness
impl AsEventCode for PowerMetricDimensionIdleness
fn as_event_code(&self) -> u32
source§impl Clone for PowerMetricDimensionIdleness
impl Clone for PowerMetricDimensionIdleness
source§fn clone(&self) -> PowerMetricDimensionIdleness
fn clone(&self) -> PowerMetricDimensionIdleness
Returns a copy 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 PowerMetricDimensionIdleness
impl Debug for PowerMetricDimensionIdleness
source§impl Hash for PowerMetricDimensionIdleness
impl Hash for PowerMetricDimensionIdleness
source§impl Ord for PowerMetricDimensionIdleness
impl Ord for PowerMetricDimensionIdleness
source§fn cmp(&self, other: &PowerMetricDimensionIdleness) -> Ordering
fn cmp(&self, other: &PowerMetricDimensionIdleness) -> 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 PowerMetricDimensionIdleness
impl PartialEq for PowerMetricDimensionIdleness
source§fn eq(&self, other: &PowerMetricDimensionIdleness) -> bool
fn eq(&self, other: &PowerMetricDimensionIdleness) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PowerMetricDimensionIdleness
impl PartialOrd for PowerMetricDimensionIdleness
source§fn partial_cmp(&self, other: &PowerMetricDimensionIdleness) -> Option<Ordering>
fn partial_cmp(&self, other: &PowerMetricDimensionIdleness) -> Option<Ordering>
1.0.0 · source§fn 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 PowerMetricDimensionIdleness
impl Eq for PowerMetricDimensionIdleness
impl StructuralPartialEq for PowerMetricDimensionIdleness
Auto Trait Implementations§
impl Freeze for PowerMetricDimensionIdleness
impl RefUnwindSafe for PowerMetricDimensionIdleness
impl Send for PowerMetricDimensionIdleness
impl Sync for PowerMetricDimensionIdleness
impl Unpin for PowerMetricDimensionIdleness
impl UnwindSafe for PowerMetricDimensionIdleness
Blanket Implementations§
§impl<A> AsEventCodes for Awhere
A: AsEventCode,
impl<A> AsEventCodes for Awhere
A: AsEventCode,
§fn as_event_codes(&self) -> Vec<u32>
fn as_event_codes(&self) -> Vec<u32>
Converts the source type into a
Vec<u32>
of event codes.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