#[non_exhaustive]pub enum ClockSpeed {
Identification,
Default,
HighSpeed,
Sdr12,
Sdr25,
Sdr50,
Sdr104,
Ddr50,
Hs200,
}Expand description
Named card clock modes used by SD/MMC protocol state machines.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ClockSpeed
impl Clone for ClockSpeed
Source§fn clone(&self) -> ClockSpeed
fn clone(&self) -> ClockSpeed
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 ClockSpeed
Source§impl Debug for ClockSpeed
impl Debug for ClockSpeed
impl Eq for ClockSpeed
Source§impl PartialEq for ClockSpeed
impl PartialEq for ClockSpeed
Source§fn eq(&self, other: &ClockSpeed) -> bool
fn eq(&self, other: &ClockSpeed) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClockSpeed
Auto Trait Implementations§
impl Freeze for ClockSpeed
impl RefUnwindSafe for ClockSpeed
impl Send for ClockSpeed
impl Sync for ClockSpeed
impl Unpin for ClockSpeed
impl UnsafeUnpin for ClockSpeed
impl UnwindSafe for ClockSpeed
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