pub struct AdiExpander {
    pub port_a: AdiPort,
    pub port_b: AdiPort,
    pub port_c: AdiPort,
    pub port_d: AdiPort,
    pub port_e: AdiPort,
    pub port_f: AdiPort,
    pub port_g: AdiPort,
    pub port_h: AdiPort,
}
Expand description

A struct which represents a V5 ADI expander.

Fields

port_a: AdiPort

ADI Port 1 / A.

port_b: AdiPort

ADI Port 2 / B.

port_c: AdiPort

ADI Port 3 / C.

port_d: AdiPort

ADI Port 4 / D.

port_e: AdiPort

ADI Port 5 / E.

port_f: AdiPort

ADI Port 6 / F.

port_g: AdiPort

ADI Port 7 / G.

port_h: AdiPort

ADI Port 8 / H.

Implementations

Initializes an ADI expander on a V5 Smart Port

Safety

This function is unsafe because it allows the user to create multiple mutable references to the same ADI expander. You likely want to implement Robot::new() instead.

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.