pub trait IMutableEffect: IEffect {
// Required method
fn to_immutable(&self) -> Arc<dyn IImmutableEffect> ⓘ;
}Expand description
A mutable effect which can return an immutable clone of itself.
Required Methods§
Sourcefn to_immutable(&self) -> Arc<dyn IImmutableEffect> ⓘ
fn to_immutable(&self) -> Arc<dyn IImmutableEffect> ⓘ
Creates an immutable clone of the effect.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".