pub trait TextSection: Component<Mutability = Mutable> + From<String> {
// Required methods
fn get_text(&self) -> &str;
fn get_text_mut(&mut self) -> &mut String;
}Expand description
Helper trait for using the TextReader and TextWriter system params.
Required Methods§
Sourcefn get_text_mut(&mut self) -> &mut String
fn get_text_mut(&mut self) -> &mut String
Returns a mutable reference to the text for this section.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".