Enum libftd2xx::Parity[][src]

#[repr(u8)]pub enum Parity {
    No,
    Odd,
    Even,
    Mark,
    Space,
}

Serial parity bits.

This is used by the set_data_characteristics method.

Variants

No

No pairty.

Odd

Odd parity.

Even

Even parity.

Mark

Mark parity.

Space

Space parity.

Trait Implementations

impl Clone for Parity[src]

impl Copy for Parity[src]

impl Debug for Parity[src]

impl Default for Parity[src]

impl Eq for Parity[src]

impl Ord for Parity[src]

impl PartialEq<Parity> for Parity[src]

impl PartialOrd<Parity> for Parity[src]

impl StructuralEq for Parity[src]

impl StructuralPartialEq for Parity[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.