pub struct Heard {
pub segment: TranscriptSegment,
pub span: Option<Range<u64>>,
pub window: Range<u64>,
}Expand description
One finalized segment, placed in its recording.
Fields§
§segment: TranscriptSegment§span: Option<Range<u64>>Where the segment’s words sit in the recording’s stream, when the
engine timed them. None otherwise — the decoder’s own position runs
ahead of the words it has emitted, so it cannot stand in for theirs.
window: Range<u64>The audio the segment came from: its words’ span when timed, else the decoder’s source window.
Auto Trait Implementations§
impl Freeze for Heard
impl RefUnwindSafe for Heard
impl Send for Heard
impl Sync for Heard
impl Unpin for Heard
impl UnsafeUnpin for Heard
impl UnwindSafe for Heard
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