twine_components/controller/
types.rs

1/// Represents the on/off state of a controller or device.
2#[derive(Debug, Clone, Copy, PartialEq, Eq)]
3pub enum SwitchState {
4    Off,
5    On,
6}