Struct gd32f1x0_hal::serial::Config
source · [−]Fields
baudrate: Bps
parity: Parity
stopbits: StopBits
Implementations
sourceimpl Config
impl Config
pub fn baudrate(self, baudrate: Bps) -> Self
pub fn parity_none(self) -> Self
pub fn parity_even(self) -> Self
pub fn parity_odd(self) -> Self
pub fn stopbits(self, stopbits: StopBits) -> Self
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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