Enum stm32f429i_disc::stm32f4::stm32f429::gpioa::ospeedr::OSPEEDR15R
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
impl OSPEEDR15R
impl OSPEEDR15R
pub fn is_low_speed(&self) -> bool
pub fn is_low_speed(&self) -> bool
Checks if the value of the field is LOWSPEED
pub fn is_medium_speed(&self) -> bool
pub fn is_medium_speed(&self) -> bool
Checks if the value of the field is MEDIUMSPEED
pub fn is_high_speed(&self) -> bool
pub fn is_high_speed(&self) -> bool
Checks if the value of the field is HIGHSPEED
pub 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
impl Clone for OSPEEDR15R
impl Clone for OSPEEDR15R
fn 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 moreimpl Debug for OSPEEDR15R
impl Debug for OSPEEDR15R
impl PartialEq<OSPEEDR15R> for OSPEEDR15R
impl PartialEq<OSPEEDR15R> for OSPEEDR15R
fn 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