pub enum PowerMetricDimensionSensor {
Ambient = 0,
ThermalPolicyInput1 = 1,
}
Variants§
Trait Implementations§
source§impl AsEventCode for PowerMetricDimensionSensor
impl AsEventCode for PowerMetricDimensionSensor
fn as_event_code(&self) -> u32
source§impl Clone for PowerMetricDimensionSensor
impl Clone for PowerMetricDimensionSensor
source§fn clone(&self) -> PowerMetricDimensionSensor
fn clone(&self) -> PowerMetricDimensionSensor
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 PowerMetricDimensionSensor
impl Debug for PowerMetricDimensionSensor
source§impl Hash for PowerMetricDimensionSensor
impl Hash for PowerMetricDimensionSensor
source§impl Ord for PowerMetricDimensionSensor
impl Ord for PowerMetricDimensionSensor
source§fn cmp(&self, other: &PowerMetricDimensionSensor) -> Ordering
fn cmp(&self, other: &PowerMetricDimensionSensor) -> 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 PowerMetricDimensionSensor
impl PartialEq for PowerMetricDimensionSensor
source§fn eq(&self, other: &PowerMetricDimensionSensor) -> bool
fn eq(&self, other: &PowerMetricDimensionSensor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PowerMetricDimensionSensor
impl PartialOrd for PowerMetricDimensionSensor
source§fn partial_cmp(&self, other: &PowerMetricDimensionSensor) -> Option<Ordering>
fn partial_cmp(&self, other: &PowerMetricDimensionSensor) -> 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 PowerMetricDimensionSensor
impl Eq for PowerMetricDimensionSensor
impl StructuralPartialEq for PowerMetricDimensionSensor
Auto Trait Implementations§
impl Freeze for PowerMetricDimensionSensor
impl RefUnwindSafe for PowerMetricDimensionSensor
impl Send for PowerMetricDimensionSensor
impl Sync for PowerMetricDimensionSensor
impl Unpin for PowerMetricDimensionSensor
impl UnwindSafe for PowerMetricDimensionSensor
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