pub trait EnablingCondition<State> {
// Provided method
fn is_enabled(&self, state: &State, time: Timestamp) -> bool { ... }
}Provided Methods§
Sourcefn is_enabled(&self, state: &State, time: Timestamp) -> bool
fn is_enabled(&self, state: &State, time: Timestamp) -> bool
Enabling condition for the Action.
Checks if the given action is enabled for a given state and timestamp.