Skip to main content

Rule

Trait Rule 

Source
pub trait Rule<O: Operand>:
    'static
    + Send
    + Sync {
    // Required method
    fn apply(&self, operand: O, stats: &Stats<'_>) -> Transformed<O>;
}

Required Methods§

Source

fn apply(&self, operand: O, stats: &Stats<'_>) -> Transformed<O>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§