Enum stm32_hal2::usart::Parity
source · [−]pub enum Parity {
EnabledEven,
EnabledOdd,
Disabled,
}
Expand description
Parity control enable/disable, and even/odd selection (USART_CR1, PCE and PS)
Variants
EnabledEven
EnabledOdd
Disabled
Trait Implementations
impl Copy for Parity
impl StructuralPartialEq for Parity
Auto Trait Implementations
impl RefUnwindSafe for Parity
impl Send for Parity
impl Sync for Parity
impl Unpin for Parity
impl UnwindSafe for Parity
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