Enum mcp23x17::Port

source ·
pub enum Port {
    A,
    B,
}
Expand description

Which port we’re actively using. Currently you must select which is active by using select_port on mcp23x17. Port A is the default.

Variants

A

Port A

B

Port B

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.