Modules§
Structs§
- Zero sized struct for signaling to Switch that it is active high
- Zero sized struct for signaling to Switch that it is active low
- Concrete implementation for InputSwitch and OutputSwitch
Traits§
- Represents an input switch, such as a button or a switch
- Represents an output switch, such as a LED “switch” or transitor
- Checks current switch state
- Toggles the switch from it’s current state to it’s opposite state.