pub trait TextModifiers: View + Sized {
// Required methods
fn font_size(self, size: u32) -> Text;
fn color(self, color: Color) -> Text;
}
Required Methods§
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.