#[repr(u32)]pub enum AdaptiveClockInfoStatus {
Disabled = 0,
Enabled = 1,
}Variants§
Trait Implementations§
Source§impl Clone for AdaptiveClockInfoStatus
impl Clone for AdaptiveClockInfoStatus
Source§fn clone(&self) -> AdaptiveClockInfoStatus
fn clone(&self) -> AdaptiveClockInfoStatus
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 AdaptiveClockInfoStatus
impl Debug for AdaptiveClockInfoStatus
Source§impl From<AdaptiveClockInfoStatus> for u32
impl From<AdaptiveClockInfoStatus> for u32
Source§fn from(enum_value: AdaptiveClockInfoStatus) -> Self
fn from(enum_value: AdaptiveClockInfoStatus) -> Self
Converts to this type from the input type.
Source§impl Hash for AdaptiveClockInfoStatus
impl Hash for AdaptiveClockInfoStatus
Source§impl PartialEq for AdaptiveClockInfoStatus
impl PartialEq for AdaptiveClockInfoStatus
Source§fn eq(&self, other: &AdaptiveClockInfoStatus) -> bool
fn eq(&self, other: &AdaptiveClockInfoStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<u32> for AdaptiveClockInfoStatus
impl TryFrom<u32> for AdaptiveClockInfoStatus
Source§type Error = TryFromPrimitiveError<AdaptiveClockInfoStatus>
type Error = TryFromPrimitiveError<AdaptiveClockInfoStatus>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for AdaptiveClockInfoStatus
impl TryFromPrimitive for AdaptiveClockInfoStatus
const NAME: &'static str = "AdaptiveClockInfoStatus"
type Primitive = u32
type Error = TryFromPrimitiveError<AdaptiveClockInfoStatus>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for AdaptiveClockInfoStatus
impl Eq for AdaptiveClockInfoStatus
impl StructuralPartialEq for AdaptiveClockInfoStatus
Auto Trait Implementations§
impl Freeze for AdaptiveClockInfoStatus
impl RefUnwindSafe for AdaptiveClockInfoStatus
impl Send for AdaptiveClockInfoStatus
impl Sync for AdaptiveClockInfoStatus
impl Unpin for AdaptiveClockInfoStatus
impl UnsafeUnpin for AdaptiveClockInfoStatus
impl UnwindSafe for AdaptiveClockInfoStatus
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