pub trait FxExt: Widget + Sized {
// Provided methods
fn glow(self, radius: u16, strength: f64) -> Fx<Self> { ... }
fn scanlines(self, strength: f64) -> Fx<Self> { ... }
}Expand description
.glow(..) / .scanlines(..) on any widget, so effects read like any other builder call:
use tui_chart::{FxExt, Spectrum};
let chart = Spectrum::new([0.2, 0.9, 0.5]).glow(1, 0.25).scanlines(0.15);Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".