CloneableEffect

Trait CloneableEffect 

Source
pub trait CloneableEffect: EffectProcessor {
    // Required method
    fn clone_box(&self) -> Box<dyn CloneableEffect>;
}
Expand description

Trait object that is cloneable: used to store prototype processors in the registry. This is a super-trait combining EffectProcessor behaviour and a clone_box method returning a boxed clone of the same dyn trait.

Required Methods§

Implementors§

Source§

impl<T> CloneableEffect for T
where T: EffectProcessor + Clone + 'static,