EnablingCondition

Trait EnablingCondition 

Source
pub trait EnablingCondition<State> {
    // Provided method
    fn is_enabled(&self, state: &State, time: Timestamp) -> bool { ... }
}

Provided Methods§

Source

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.

Implementors§