[−][src]Struct stm32f4xx_hal::serial::config::Config
Fields
baudrate: Bps
wordlength: WordLength
parity: Parity
stopbits: StopBits
Methods
impl Config
[src]
pub fn baudrate(self, baudrate: Bps) -> Self
[src]
pub fn parity_none(self) -> Self
[src]
pub fn parity_even(self) -> Self
[src]
pub fn parity_odd(self) -> Self
[src]
pub fn wordlength_8(self) -> Self
[src]
pub fn wordlength_9(self) -> Self
[src]
pub fn stopbits(self, stopbits: StopBits) -> Self
[src]
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> From for T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self