Enum stm32_hal2::usart::StopBits
source · [−]#[repr(u8)]
pub enum StopBits {
S1,
S0_5,
S2,
S1_5,
}
Expand description
The number of stop bits. (USART_CR2, STOP)
Variants
S1
S0_5
S2
S1_5
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StopBits
impl Send for StopBits
impl Sync for StopBits
impl Unpin for StopBits
impl UnwindSafe for StopBits
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