Enum stm32_metapac::rcc::vals::Pllrclkprestep
#[repr(u8)]pub enum Pllrclkprestep {
STEP2 = 0,
STEP3 = 1,
}
Variants§
Implementations§
§impl Pllrclkprestep
impl Pllrclkprestep
pub const fn from_bits(val: u8) -> Pllrclkprestep
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Pllrclkprestep
impl Clone for Pllrclkprestep
§fn clone(&self) -> Pllrclkprestep
fn clone(&self) -> Pllrclkprestep
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<Pllrclkprestep> for u8
impl From<Pllrclkprestep> for u8
§fn from(val: Pllrclkprestep) -> u8
fn from(val: Pllrclkprestep) -> u8
Converts to this type from the input type.
§impl From<u8> for Pllrclkprestep
impl From<u8> for Pllrclkprestep
§fn from(val: u8) -> Pllrclkprestep
fn from(val: u8) -> Pllrclkprestep
Converts to this type from the input type.
§impl Ord for Pllrclkprestep
impl Ord for Pllrclkprestep
§impl PartialEq for Pllrclkprestep
impl PartialEq for Pllrclkprestep
§fn eq(&self, other: &Pllrclkprestep) -> bool
fn eq(&self, other: &Pllrclkprestep) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for Pllrclkprestep
impl PartialOrd for Pllrclkprestep
§fn partial_cmp(&self, other: &Pllrclkprestep) -> Option<Ordering>
fn partial_cmp(&self, other: &Pllrclkprestep) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Pllrclkprestep
impl Eq for Pllrclkprestep
impl StructuralEq for Pllrclkprestep
impl StructuralPartialEq for Pllrclkprestep
Auto Trait Implementations§
impl RefUnwindSafe for Pllrclkprestep
impl Send for Pllrclkprestep
impl Sync for Pllrclkprestep
impl Unpin for Pllrclkprestep
impl UnwindSafe for Pllrclkprestep
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