Enum libftd2xx::DriveCurrent[][src]

#[repr(u8)]pub enum DriveCurrent {
    Milliamps4,
    Milliamps8,
    Milliamps12,
    Milliamps16,
}

FTDI pin drive currents.

Variants

Milliamps4

4mA drive current.

Milliamps8

8mA drive current.

Milliamps12

12mA drive current.

Milliamps16

16mA drive current.

Trait Implementations

impl Clone for DriveCurrent[src]

impl Copy for DriveCurrent[src]

impl Debug for DriveCurrent[src]

impl Eq for DriveCurrent[src]

impl Ord for DriveCurrent[src]

impl PartialEq<DriveCurrent> for DriveCurrent[src]

impl PartialOrd<DriveCurrent> for DriveCurrent[src]

impl StructuralEq for DriveCurrent[src]

impl StructuralPartialEq for DriveCurrent[src]

impl TryFrom<u8> for DriveCurrent[src]

type Error = EepromValueError

The type returned in the event of a conversion error.

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.