pub trait Action {
// Required methods
fn trigger(&self) -> bool;
fn set_trigger(&mut self, trigger: bool);
}Expand description
Required Methods§
Sourcefn trigger(&self) -> bool
fn trigger(&self) -> bool
§Property trigger
On receiving a boolean trigger the action will be executed
Data Type: Bool
Socket Type: Input
Mutability: Mutable
Sourcefn set_trigger(&mut self, trigger: bool)
fn set_trigger(&mut self, trigger: bool)
§Property trigger
On receiving a boolean trigger the action will be executed
Data Type: Bool
Socket Type: Input
Mutability: Mutable