Enum alt_stm32f30x_hal::device::gpiob::ospeedr::OSPEEDR0_A
source · [−]#[repr(u8)]
pub enum OSPEEDR0_A {
LowSpeed,
MediumSpeed,
HighSpeed,
}
Expand description
Port x configuration bits (y = 0..15)
Value on reset: 0
Variants
LowSpeed
0: Low speed
MediumSpeed
1: Medium speed
HighSpeed
3: High speed
Trait Implementations
sourceimpl Clone for OSPEEDR0_A
impl Clone for OSPEEDR0_A
sourcefn clone(&self) -> OSPEEDR0_A
fn clone(&self) -> OSPEEDR0_A
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for OSPEEDR0_A
impl Debug for OSPEEDR0_A
sourceimpl PartialEq<OSPEEDR0_A> for OSPEEDR0_A
impl PartialEq<OSPEEDR0_A> for OSPEEDR0_A
sourcefn eq(&self, other: &OSPEEDR0_A) -> bool
fn eq(&self, other: &OSPEEDR0_A) -> bool
impl Copy for OSPEEDR0_A
impl StructuralPartialEq for OSPEEDR0_A
Auto Trait Implementations
impl RefUnwindSafe for OSPEEDR0_A
impl Send for OSPEEDR0_A
impl Sync for OSPEEDR0_A
impl Unpin for OSPEEDR0_A
impl UnwindSafe for OSPEEDR0_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more