pub struct TranscriptSegmentSource { /* private fields */ }Expand description
Data type for transcript segment source.
Implementations§
Trait Implementations§
Source§impl TextSegmentSource for TranscriptSegmentSource
impl TextSegmentSource for TranscriptSegmentSource
Source§fn source_info(&self) -> &MediaSourceInfo
fn source_info(&self) -> &MediaSourceInfo
Returns source info.
Source§fn next_text_segment(&mut self) -> Result<Option<OwnedTextSegment>>
fn next_text_segment(&mut self) -> Result<Option<OwnedTextSegment>>
Returns next text segment.
Auto Trait Implementations§
impl Freeze for TranscriptSegmentSource
impl RefUnwindSafe for TranscriptSegmentSource
impl Send for TranscriptSegmentSource
impl Sync for TranscriptSegmentSource
impl Unpin for TranscriptSegmentSource
impl UnsafeUnpin for TranscriptSegmentSource
impl UnwindSafe for TranscriptSegmentSource
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