Enum Clearsofrefclktimerduringdisc
#[repr(u8)]pub enum Clearsofrefclktimerduringdisc {
Enablefix = 0,
Disablefix = 1,
}Variants§
Enablefix = 0
SOF refclk timer is cleared immediately after device disconnect is detected.
Disablefix = 1
SOF refclk timer is not cleared immediately after device disconnect is detected.
Implementations§
§impl Clearsofrefclktimerduringdisc
impl Clearsofrefclktimerduringdisc
pub const fn from_bits(val: u8) -> Clearsofrefclktimerduringdisc
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Clearsofrefclktimerduringdisc
impl Clone for Clearsofrefclktimerduringdisc
§fn clone(&self) -> Clearsofrefclktimerduringdisc
fn clone(&self) -> Clearsofrefclktimerduringdisc
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 moreimpl Copy for Clearsofrefclktimerduringdisc
impl Eq for Clearsofrefclktimerduringdisc
§impl From<u8> for Clearsofrefclktimerduringdisc
impl From<u8> for Clearsofrefclktimerduringdisc
§fn from(val: u8) -> Clearsofrefclktimerduringdisc
fn from(val: u8) -> Clearsofrefclktimerduringdisc
Converts to this type from the input type.
§impl Ord for Clearsofrefclktimerduringdisc
impl Ord for Clearsofrefclktimerduringdisc
§fn cmp(&self, other: &Clearsofrefclktimerduringdisc) -> Ordering
fn cmp(&self, other: &Clearsofrefclktimerduringdisc) -> Ordering
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
§impl PartialEq for Clearsofrefclktimerduringdisc
impl PartialEq for Clearsofrefclktimerduringdisc
§impl PartialOrd for Clearsofrefclktimerduringdisc
impl PartialOrd for Clearsofrefclktimerduringdisc
impl StructuralPartialEq for Clearsofrefclktimerduringdisc
Auto Trait Implementations§
impl Forget for Clearsofrefclktimerduringdisc
impl Freeze for Clearsofrefclktimerduringdisc
impl Move for Clearsofrefclktimerduringdisc
impl RefUnwindSafe for Clearsofrefclktimerduringdisc
impl Send for Clearsofrefclktimerduringdisc
impl Sync for Clearsofrefclktimerduringdisc
impl Unpin for Clearsofrefclktimerduringdisc
impl UnsafeUnpin for Clearsofrefclktimerduringdisc
impl UnwindSafe for Clearsofrefclktimerduringdisc
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