Skip to main content

EffectRow

Trait EffectRow 

Source
pub trait EffectRow {
    // Required methods
    fn row_type_name() -> &'static str;
    fn contains_effect(effect_name: &str) -> bool;
}
Expand description

Row polymorphism for extensible effects

Required Methods§

Source

fn row_type_name() -> &'static str

Source

fn contains_effect(effect_name: &str) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§