Enum usbd_serial::ParityType
source · pub enum ParityType {
None = 0,
Odd = 1,
Even = 2,
Mark = 3,
Space = 4,
}
Expand description
Parity for LineCoding
Variants§
Trait Implementations§
source§impl Clone for ParityType
impl Clone for ParityType
source§fn clone(&self) -> ParityType
fn clone(&self) -> ParityType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<u8> for ParityType
impl From<u8> for ParityType
source§impl PartialEq for ParityType
impl PartialEq for ParityType
source§fn eq(&self, other: &ParityType) -> bool
fn eq(&self, other: &ParityType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ParityType
impl Eq for ParityType
impl StructuralPartialEq for ParityType
Auto Trait Implementations§
impl Freeze for ParityType
impl RefUnwindSafe for ParityType
impl Send for ParityType
impl Sync for ParityType
impl Unpin for ParityType
impl UnwindSafe for ParityType
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