#[repr(C)]pub struct SherpaOnnxSileroVadModelConfig {
pub model: *const c_char,
pub threshold: f32,
pub min_silence_duration: f32,
pub min_speech_duration: f32,
pub window_size: c_int,
pub max_speech_duration: f32,
}
Fields§
§model: *const c_char
§threshold: f32
§min_silence_duration: f32
§min_speech_duration: f32
§window_size: c_int
§max_speech_duration: f32
Trait Implementations§
Source§impl Clone for SherpaOnnxSileroVadModelConfig
impl Clone for SherpaOnnxSileroVadModelConfig
Source§fn clone(&self) -> SherpaOnnxSileroVadModelConfig
fn clone(&self) -> SherpaOnnxSileroVadModelConfig
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 moreimpl Copy for SherpaOnnxSileroVadModelConfig
Auto Trait Implementations§
impl Freeze for SherpaOnnxSileroVadModelConfig
impl RefUnwindSafe for SherpaOnnxSileroVadModelConfig
impl !Send for SherpaOnnxSileroVadModelConfig
impl !Sync for SherpaOnnxSileroVadModelConfig
impl Unpin for SherpaOnnxSileroVadModelConfig
impl UnwindSafe for SherpaOnnxSileroVadModelConfig
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