Enum stm32wlxx_hal::subghz::StandbyClk
source · #[repr(u8)]pub enum StandbyClk {
Rc = 0,
Hse = 1,
}
Expand description
Clock in standby mode.
Used by set_standby
.
Variants§
Trait Implementations§
source§impl Clone for StandbyClk
impl Clone for StandbyClk
source§fn clone(&self) -> StandbyClk
fn clone(&self) -> StandbyClk
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 moresource§impl Debug for StandbyClk
impl Debug for StandbyClk
source§impl From<StandbyClk> for u8
impl From<StandbyClk> for u8
source§fn from(sc: StandbyClk) -> Self
fn from(sc: StandbyClk) -> Self
Converts to this type from the input type.
source§impl Ord for StandbyClk
impl Ord for StandbyClk
source§fn cmp(&self, other: &StandbyClk) -> Ordering
fn cmp(&self, other: &StandbyClk) -> Ordering
1.21.0 · 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
source§impl PartialEq for StandbyClk
impl PartialEq for StandbyClk
source§fn eq(&self, other: &StandbyClk) -> bool
fn eq(&self, other: &StandbyClk) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for StandbyClk
impl PartialOrd for StandbyClk
source§fn partial_cmp(&self, other: &StandbyClk) -> Option<Ordering>
fn partial_cmp(&self, other: &StandbyClk) -> 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 StandbyClk
impl Eq for StandbyClk
impl StructuralEq for StandbyClk
impl StructuralPartialEq for StandbyClk
Auto Trait Implementations§
impl RefUnwindSafe for StandbyClk
impl Send for StandbyClk
impl Sync for StandbyClk
impl Unpin for StandbyClk
impl UnwindSafe for StandbyClk
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