#[repr(u8)]pub enum Phro {
Press = 1,
Hold = 2,
Release = 3,
Off = 0,
Passthrough = 8,
}
Expand description
PHRO - Press/Hold/Release/Off Generally used for momentary switches
Variants§
Press = 1
Hold = 2
Release = 3
Off = 0
Passthrough = 8
Passthrough TriggerEvent state Only used for TriggerConditions
Implementations§
Trait Implementations§
impl Copy for Phro
impl Eq for Phro
impl StructuralPartialEq for Phro
Auto Trait Implementations§
impl Freeze for Phro
impl RefUnwindSafe for Phro
impl Send for Phro
impl Sync for Phro
impl Unpin for Phro
impl UnwindSafe for Phro
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more