Enum Sws
#[repr(u8)]pub enum Sws {
Msis = 0,
Hsi16 = 1,
Hse = 2,
_RESERVED_3 = 3,
}Variants§
Msis = 0
MSIS oscillator used as system clock.
Hsi16 = 1
HSI16 oscillator used as system clock.
Hse = 2
HSE used as system clock.
_RESERVED_3 = 3
Implementations§
Trait Implementations§
impl Copy for Sws
impl Eq for Sws
§impl Ord for Sws
impl Ord for Sws
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 PartialOrd for Sws
impl PartialOrd for Sws
impl StructuralPartialEq for Sws
Auto Trait Implementations§
impl Freeze for Sws
impl RefUnwindSafe for Sws
impl Send for Sws
impl Sync for Sws
impl Unpin for Sws
impl UnsafeUnpin for Sws
impl UnwindSafe for Sws
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