#[repr(C)]pub struct whisper_vad_params {
pub threshold: f32,
pub min_speech_duration_ms: c_int,
pub min_silence_duration_ms: c_int,
pub max_speech_duration_s: f32,
pub speech_pad_ms: c_int,
pub samples_overlap: f32,
}Fields§
§threshold: f32§min_speech_duration_ms: c_int§min_silence_duration_ms: c_int§max_speech_duration_s: f32§speech_pad_ms: c_int§samples_overlap: f32Trait Implementations§
Source§impl Clone for whisper_vad_params
impl Clone for whisper_vad_params
Source§fn clone(&self) -> whisper_vad_params
fn clone(&self) -> whisper_vad_params
Returns a duplicate 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 Debug for whisper_vad_params
impl Debug for whisper_vad_params
Source§impl Default for whisper_vad_params
impl Default for whisper_vad_params
Source§fn default() -> whisper_vad_params
fn default() -> whisper_vad_params
Returns the “default value” for a type. Read more
impl Copy for whisper_vad_params
Auto Trait Implementations§
impl Freeze for whisper_vad_params
impl RefUnwindSafe for whisper_vad_params
impl Send for whisper_vad_params
impl Sync for whisper_vad_params
impl Unpin for whisper_vad_params
impl UnwindSafe for whisper_vad_params
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