pub fn new<'b, T>(pin_map: T) -> Device where
        T: IntoIterator<Item = &'b (u8, (Direction, SignalClass))> {
        Device {
            io: pin_map.into_iter().map(|x| *x).collect(),
            hold_reset: None,
            release_reset: None,
        }
    }
/** Define a new device.

    A device under test has a defined set of inputs and outputs.
    Each I/O has a signal type that it emits or accepts.
    */
Define a new device.
A device under test has a defined set of inputs and outputs.
Each I/O has a signal type that it emits or accepts.
Define a new device . A device under test has a defined set of inputs and outputs . Each I / O has a signal type that it emits or accepts .
pub fn new<'b, T>(pin_map: T) -> Device where
        T: IntoIterator<Item = &'b (u8, (Direction, SignalClass))> {
        Device {
            io: pin_map.into_iter().map(|x| *x).collect(),
            hold_reset: None,
            release_reset: None,
        }
    }
pub fn new < ' b , T > ( pin_map : T ) -> Device where T : IntoIterator < Item = & ' b ( u8 , ( Direction , SignalClass ) ) > { Device { io : pin_map . into_iter ( ) . map ( | x | * x ) . collect ( ) , hold_reset : None , release_reset : None , } }
Define a new device.
Define a new device .
pin_map
T
pin_map
T