Enum Parity
pub enum Parity<A> {
Hal(A),
None,
Even,
}Available on crate feature
uart only.Expand description
Parity bit.
Variants§
Trait Implementations§
impl<A> Copy for Parity<A>where
A: Copy,
impl<A> Eq for Parity<A>where
A: Eq,
impl<A> StructuralPartialEq for Parity<A>
Auto Trait Implementations§
impl<A> Freeze for Parity<A>where
A: Freeze,
impl<A> RefUnwindSafe for Parity<A>where
A: RefUnwindSafe,
impl<A> Send for Parity<A>where
A: Send,
impl<A> Sync for Parity<A>where
A: Sync,
impl<A> Unpin for Parity<A>where
A: Unpin,
impl<A> UnwindSafe for Parity<A>where
A: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more