Skip to main content

Condition

Trait Condition 

Source
pub trait Condition: Send + Sync {
    // Required method
    fn get_trigger_value(&self) -> bool;
}
Expand description

Condition trait — Spec §2.2.2.1.6 base class.

Required Methods§

Source

fn get_trigger_value(&self) -> bool

True if the event of this condition is currently pending. Spec §2.2.2.1.6 get_trigger_value.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§