pub trait EffectExt: Sized {
// Required method
fn get_effect(&mut self) -> &mut EffectData;
// Provided methods
fn effect(self, effect: EffectData) -> Self { ... }
fn overflow(self, overflow: impl Into<Overflow>) -> Self { ... }
fn blur(self, blur: impl Into<f32>) -> Self { ... }
fn rotation(self, rotation: impl Into<f32>) -> Self { ... }
fn opacity(self, opacity: impl Into<f32>) -> Self { ... }
fn scale(self, scale: impl Into<Scale>) -> Self { ... }
}Required Methods§
fn get_effect(&mut self) -> &mut EffectData
Provided Methods§
fn effect(self, effect: EffectData) -> Self
fn overflow(self, overflow: impl Into<Overflow>) -> Self
fn blur(self, blur: impl Into<f32>) -> Self
fn rotation(self, rotation: impl Into<f32>) -> Self
fn opacity(self, opacity: impl Into<f32>) -> Self
fn scale(self, scale: impl Into<Scale>) -> Self
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.