#[repr(u8)]
pub enum Parity {
None,
Even,
Odd,
}
Expand description
Parity setting of a UART frame
Variants
None
No parity
Even
Even parity
Odd
Odd parity
Trait Implementations
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