[][src]Trait subparse::ClonableSubtitleFile

pub trait ClonableSubtitleFile: SubtitleFile + Send + Sync {
    fn clone_box(&self) -> Box<dyn ClonableSubtitleFile>;
}

This trick works around the limitation, that trait objects can not require Sized (or Clone).

Required methods

fn clone_box(&self) -> Box<dyn ClonableSubtitleFile>

Returns a boxed clone

Loading content...

Implementors

impl<T> ClonableSubtitleFile for T where
    T: SubtitleFile + Clone + Send + Sync + 'static, 
[src]

Loading content...