Enum stm32_metapac::rcc::vals::Spdifrxsel
#[repr(u8)]pub enum Spdifrxsel {
PLL1_R = 0,
PLLI2S1_P = 1,
}
Variants§
Implementations§
§impl Spdifrxsel
impl Spdifrxsel
pub const fn from_bits(val: u8) -> Spdifrxsel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Spdifrxsel
impl Clone for Spdifrxsel
§fn clone(&self) -> Spdifrxsel
fn clone(&self) -> Spdifrxsel
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 more§impl From<Spdifrxsel> for u8
impl From<Spdifrxsel> for u8
§fn from(val: Spdifrxsel) -> u8
fn from(val: Spdifrxsel) -> u8
Converts to this type from the input type.
§impl From<u8> for Spdifrxsel
impl From<u8> for Spdifrxsel
§fn from(val: u8) -> Spdifrxsel
fn from(val: u8) -> Spdifrxsel
Converts to this type from the input type.
§impl Ord for Spdifrxsel
impl Ord for Spdifrxsel
§impl PartialEq for Spdifrxsel
impl PartialEq for Spdifrxsel
§impl PartialOrd for Spdifrxsel
impl PartialOrd for Spdifrxsel
impl Copy for Spdifrxsel
impl Eq for Spdifrxsel
impl StructuralPartialEq for Spdifrxsel
Auto Trait Implementations§
impl Freeze for Spdifrxsel
impl RefUnwindSafe for Spdifrxsel
impl Send for Spdifrxsel
impl Sync for Spdifrxsel
impl Unpin for Spdifrxsel
impl UnwindSafe for Spdifrxsel
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§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
)