Trait TextSubtitle

Source
pub trait TextSubtitle: Subtitle
where Self::Event: TextEvent,
{ // Provided method fn strip_formatting(&mut self) { ... } }
Expand description

Trait representing textual subtitle formats

Provided Methods§

Source

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.

Implementors§