[−][src]Struct esp32_hal::serial::config::Config
UART configuration
Fields
baudrate: Hertz
data_bits: DataBits
parity: Parity
stop_bits: StopBits
Implementations
impl Config
[src]
pub fn baudrate(self, baudrate: Hertz) -> 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 data_bits(self, data_bits: DataBits) -> Self
[src]
pub fn stop_bits(self, stop_bits: StopBits) -> Self
[src]
Trait Implementations
impl Clone for Config
[src]
fn clone(&self) -> Config
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Config
[src]
impl Debug for Config
[src]
impl Default for Config
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,