pub trait TextSubtitle: Subtitle{
// Provided method
fn strip_formatting(&mut self) { ... }
}
Expand description
Trait representing textual subtitle formats
Provided Methods§
Sourcefn strip_formatting(&mut self)
fn strip_formatting(&mut self)
Remove all styling/formatting information from the text and subtitle metadata
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.