#[repr(u8)]
pub enum Phro {
Press,
Hold,
Release,
Off,
Passthrough,
}Expand description
PHRO - Press/Hold/Release/Off Generally used for momentary switches
Variants
Press
Hold
Release
Off
Passthrough
Passthrough TriggerEvent state Only used for TriggerConditions
Implementations
Trait Implementations
impl Copy for Phro
impl Eq for Phro
impl StructuralEq for Phro
impl StructuralPartialEq for Phro
Auto Trait Implementations
impl RefUnwindSafe for Phro
impl Send for Phro
impl Sync for Phro
impl Unpin for Phro
impl UnwindSafe for Phro
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more