pub struct SpeechMap { /* private fields */ }Available on crate feature
silero and non-target_family=wasm only.Expand description
Where anyone was speaking, as far as the detector has scored.
Implementations§
Source§impl SpeechMap
impl SpeechMap
Sourcepub fn is_finished(&self) -> bool
pub fn is_finished(&self) -> bool
Whether the detector heard the whole recording, so nothing after
reached is still to come.
Sourcepub fn break_off(&mut self)
pub fn break_off(&mut self)
Marks the map broken where it stands, as when its detector stopped without saying why.
Sourcepub fn speech_before(&self, at: u64) -> u64
pub fn speech_before(&self, at: u64) -> u64
Samples of speech scored before at.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpeechMap
impl RefUnwindSafe for SpeechMap
impl Send for SpeechMap
impl Sync for SpeechMap
impl Unpin for SpeechMap
impl UnsafeUnpin for SpeechMap
impl UnwindSafe for SpeechMap
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