pub enum LabeledAudio<T> {
Speech(Vec<T>),
NonSpeech(Vec<T>),
}
Expand description
Labels a chunk of audio as either speech or non-speech.
Variants§
Speech(Vec<T>)
The voice activity detector predicted a speech probability higher than the provided threshold.
NonSpeech(Vec<T>)
The voice activity detector predicted a speech probability lower than the provided threshold.
Implementations§
Trait Implementations§
source§impl<T: Clone> Clone for LabeledAudio<T>
impl<T: Clone> Clone for LabeledAudio<T>
source§fn clone(&self) -> LabeledAudio<T>
fn clone(&self) -> LabeledAudio<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Debug> Debug for LabeledAudio<T>
impl<T: Debug> Debug for LabeledAudio<T>
Auto Trait Implementations§
impl<T> Freeze for LabeledAudio<T>
impl<T> RefUnwindSafe for LabeledAudio<T>where
T: RefUnwindSafe,
impl<T> Send for LabeledAudio<T>where
T: Send,
impl<T> Sync for LabeledAudio<T>where
T: Sync,
impl<T> Unpin for LabeledAudio<T>where
T: Unpin,
impl<T> UnwindSafe for LabeledAudio<T>where
T: UnwindSafe,
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