pub struct PerformanceMetricsCounterUnitMETA(/* private fields */);
Expand description
Implementations§
source§impl PerformanceMetricsCounterUnitMETA
impl PerformanceMetricsCounterUnitMETA
sourcepub const GENERIC: PerformanceMetricsCounterUnitMETA = _
pub const GENERIC: PerformanceMetricsCounterUnitMETA = _
the performance counter unit is generic (unspecified).
sourcepub const PERCENTAGE: PerformanceMetricsCounterUnitMETA = _
pub const PERCENTAGE: PerformanceMetricsCounterUnitMETA = _
the performance counter unit is percentage (%).
sourcepub const MILLISECONDS: PerformanceMetricsCounterUnitMETA = _
pub const MILLISECONDS: PerformanceMetricsCounterUnitMETA = _
the performance counter unit is millisecond.
sourcepub const BYTES: PerformanceMetricsCounterUnitMETA = _
pub const BYTES: PerformanceMetricsCounterUnitMETA = _
the performance counter unit is byte.
sourcepub const HERTZ: PerformanceMetricsCounterUnitMETA = _
pub const HERTZ: PerformanceMetricsCounterUnitMETA = _
the performance counter unit is hertz (Hz).
pub fn from_raw(x: i32) -> Self
pub fn into_raw(self) -> i32
Trait Implementations§
source§impl Clone for PerformanceMetricsCounterUnitMETA
impl Clone for PerformanceMetricsCounterUnitMETA
source§fn clone(&self) -> PerformanceMetricsCounterUnitMETA
fn clone(&self) -> PerformanceMetricsCounterUnitMETA
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 PartialEq for PerformanceMetricsCounterUnitMETA
impl PartialEq for PerformanceMetricsCounterUnitMETA
source§fn eq(&self, other: &PerformanceMetricsCounterUnitMETA) -> bool
fn eq(&self, other: &PerformanceMetricsCounterUnitMETA) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PerformanceMetricsCounterUnitMETA
impl Eq for PerformanceMetricsCounterUnitMETA
impl StructuralPartialEq for PerformanceMetricsCounterUnitMETA
Auto Trait Implementations§
impl Freeze for PerformanceMetricsCounterUnitMETA
impl RefUnwindSafe for PerformanceMetricsCounterUnitMETA
impl Send for PerformanceMetricsCounterUnitMETA
impl Sync for PerformanceMetricsCounterUnitMETA
impl Unpin for PerformanceMetricsCounterUnitMETA
impl UnwindSafe for PerformanceMetricsCounterUnitMETA
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)