pub trait FormattedStringAppendable {
// Required method
fn append(&mut self, s: FormattedString) -> &mut Self;
// Provided methods
fn append_styled<S: ToString>(&mut self, s: S, style: Style) -> &mut Self { ... }
fn append_plain<S: ToString>(&mut self, s: S) -> &mut Self { ... }
}
Required Methods§
fn append(&mut self, s: FormattedString) -> &mut Self
Provided Methods§
fn append_styled<S: ToString>(&mut self, s: S, style: Style) -> &mut Self
fn append_plain<S: ToString>(&mut self, s: S) -> &mut 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.