Enum serial::Parity [-] [+] [src]

pub enum Parity {
    Even,
    None,
    Odd,
}
[-]

Parity checking

Variants

Even
None
Odd

Trait Implementations

Derived Implementations

impl PartialEq for Parity

fn eq(&self, __arg_0: &Parity) -> bool

fn ne(&self, __arg_0: &Parity) -> bool

impl Debug for Parity

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Copy for Parity

impl Clone for Parity

fn clone(&self) -> Parity

fn clone_from(&mut self, source: &Self)