pub struct CaptionLayout { /* private fields */ }Expand description
Cached subtitle vectors; frame sampling never reshapes or discovers fonts.
Implementations§
Source§impl CaptionLayout
impl CaptionLayout
Sourcepub fn cues(&self) -> impl Iterator<Item = (&CaptionCue, &ParagraphLayout)>
pub fn cues(&self) -> impl Iterator<Item = (&CaptionCue, &ParagraphLayout)>
Returns immutable cue/paragraph pairs in input order.
Trait Implementations§
Source§impl Clone for CaptionLayout
impl Clone for CaptionLayout
Auto Trait Implementations§
impl !RefUnwindSafe for CaptionLayout
impl !UnwindSafe for CaptionLayout
impl Forget for CaptionLayout
impl Freeze for CaptionLayout
impl Move for CaptionLayout
impl Send for CaptionLayout
impl Sync for CaptionLayout
impl Unpin for CaptionLayout
impl UnsafeUnpin for CaptionLayout
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