Enum stm32f030_hal::stm32::gpioa::ospeedr::OSPEEDR15R
source · pub enum OSPEEDR15R {
LOWSPEED,
MEDIUMSPEED,
HIGHSPEED,
VERYHIGHSPEED,
}
Expand description
Possible values of the field OSPEEDR15
Variants
LOWSPEED
Low speed
MEDIUMSPEED
Medium speed
HIGHSPEED
High speed
VERYHIGHSPEED
Very high speed
Implementations
sourceimpl OSPEEDR15R
impl OSPEEDR15R
sourcepub fn is_low_speed(&self) -> bool
pub fn is_low_speed(&self) -> bool
Checks if the value of the field is LOWSPEED
sourcepub fn is_medium_speed(&self) -> bool
pub fn is_medium_speed(&self) -> bool
Checks if the value of the field is MEDIUMSPEED
sourcepub fn is_high_speed(&self) -> bool
pub fn is_high_speed(&self) -> bool
Checks if the value of the field is HIGHSPEED
sourcepub fn is_very_high_speed(&self) -> bool
pub fn is_very_high_speed(&self) -> bool
Checks if the value of the field is VERYHIGHSPEED
Trait Implementations
sourceimpl Clone for OSPEEDR15R
impl Clone for OSPEEDR15R
sourcefn clone(&self) -> OSPEEDR15R
fn clone(&self) -> OSPEEDR15R
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for OSPEEDR15R
impl Debug for OSPEEDR15R
sourceimpl PartialEq<OSPEEDR15R> for OSPEEDR15R
impl PartialEq<OSPEEDR15R> for OSPEEDR15R
sourcefn eq(&self, other: &OSPEEDR15R) -> bool
fn eq(&self, other: &OSPEEDR15R) -> bool
impl Copy for OSPEEDR15R
impl StructuralPartialEq for OSPEEDR15R
Auto Trait Implementations
impl RefUnwindSafe for OSPEEDR15R
impl Send for OSPEEDR15R
impl Sync for OSPEEDR15R
impl Unpin for OSPEEDR15R
impl UnwindSafe for OSPEEDR15R
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