Enum Eth1clksel
#[repr(u8)]pub enum Eth1clksel {
_RESERVED_0 = 0,
Psi = 1,
Psik = 2,
Hse = 3,
}Variants§
_RESERVED_0 = 0
Psi = 1
psi_ck selected as kernel clock
Psik = 2
psik_ck selected as kernel clock
Hse = 3
hse_ck selected as kernel clock
Implementations§
§impl Eth1clksel
impl Eth1clksel
pub const fn from_bits(val: u8) -> Eth1clksel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Eth1clksel
impl Clone for Eth1clksel
§fn clone(&self) -> Eth1clksel
fn clone(&self) -> Eth1clksel
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 Eth1clksel
§impl Debug for Eth1clksel
impl Debug for Eth1clksel
impl Eq for Eth1clksel
§impl Format for Eth1clksel
impl Format for Eth1clksel
§impl From<u8> for Eth1clksel
impl From<u8> for Eth1clksel
§fn from(val: u8) -> Eth1clksel
fn from(val: u8) -> Eth1clksel
Converts to this type from the input type.
§impl Ord for Eth1clksel
impl Ord for Eth1clksel
§fn cmp(&self, other: &Eth1clksel) -> Ordering
fn cmp(&self, other: &Eth1clksel) -> 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
§impl PartialEq for Eth1clksel
impl PartialEq for Eth1clksel
§impl PartialOrd for Eth1clksel
impl PartialOrd for Eth1clksel
impl StructuralPartialEq for Eth1clksel
Auto Trait Implementations§
impl Freeze for Eth1clksel
impl RefUnwindSafe for Eth1clksel
impl Send for Eth1clksel
impl Sync for Eth1clksel
impl Unpin for Eth1clksel
impl UnsafeUnpin for Eth1clksel
impl UnwindSafe for Eth1clksel
Blanket Implementations§
impl<T, I> Binding<I, NoHandler<I>> for T
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