pub struct ImportedCaptions {
pub cues: Vec<CaptionCue>,
pub skipped: usize,
}Expand description
Cues read from a subtitle file.
Fields§
§cues: Vec<CaptionCue>Cues in file order, sorted by start time. They may overlap; see
caption_rows.
skipped: usizeBlocks that were not cues and could not be read as one.
Trait Implementations§
Source§impl Clone for ImportedCaptions
impl Clone for ImportedCaptions
Source§impl Debug for ImportedCaptions
impl Debug for ImportedCaptions
Source§impl Default for ImportedCaptions
impl Default for ImportedCaptions
Source§impl PartialEq for ImportedCaptions
impl PartialEq for ImportedCaptions
impl StructuralPartialEq for ImportedCaptions
Auto Trait Implementations§
impl Freeze for ImportedCaptions
impl RefUnwindSafe for ImportedCaptions
impl Send for ImportedCaptions
impl Sync for ImportedCaptions
impl Unpin for ImportedCaptions
impl UnsafeUnpin for ImportedCaptions
impl UnwindSafe for ImportedCaptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more