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.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".