#[repr(C)]pub struct SherpaOnnxVadModelConfig {
pub silero_vad: SherpaOnnxSileroVadModelConfig,
pub sample_rate: i32,
pub num_threads: i32,
pub provider: *const c_char,
pub debug: i32,
}
Fields§
§silero_vad: SherpaOnnxSileroVadModelConfig
§sample_rate: i32
§num_threads: i32
§provider: *const c_char
§debug: i32
Trait Implementations§
Source§impl Clone for SherpaOnnxVadModelConfig
impl Clone for SherpaOnnxVadModelConfig
Source§fn clone(&self) -> SherpaOnnxVadModelConfig
fn clone(&self) -> SherpaOnnxVadModelConfig
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 Debug for SherpaOnnxVadModelConfig
impl Debug for SherpaOnnxVadModelConfig
impl Copy for SherpaOnnxVadModelConfig
Auto Trait Implementations§
impl Freeze for SherpaOnnxVadModelConfig
impl RefUnwindSafe for SherpaOnnxVadModelConfig
impl !Send for SherpaOnnxVadModelConfig
impl !Sync for SherpaOnnxVadModelConfig
impl Unpin for SherpaOnnxVadModelConfig
impl UnwindSafe for SherpaOnnxVadModelConfig
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