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