#[repr(C)]pub struct SherpaOnnxOfflineWhisperModelConfig {
pub encoder: *const c_char,
pub decoder: *const c_char,
pub language: *const c_char,
pub task: *const c_char,
pub tail_paddings: i32,
}
Fields§
§encoder: *const c_char
§decoder: *const c_char
§language: *const c_char
§task: *const c_char
§tail_paddings: i32
Trait Implementations§
Source§impl Clone for SherpaOnnxOfflineWhisperModelConfig
impl Clone for SherpaOnnxOfflineWhisperModelConfig
Source§fn clone(&self) -> SherpaOnnxOfflineWhisperModelConfig
fn clone(&self) -> SherpaOnnxOfflineWhisperModelConfig
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 SherpaOnnxOfflineWhisperModelConfig
Auto Trait Implementations§
impl Freeze for SherpaOnnxOfflineWhisperModelConfig
impl RefUnwindSafe for SherpaOnnxOfflineWhisperModelConfig
impl !Send for SherpaOnnxOfflineWhisperModelConfig
impl !Sync for SherpaOnnxOfflineWhisperModelConfig
impl Unpin for SherpaOnnxOfflineWhisperModelConfig
impl UnwindSafe for SherpaOnnxOfflineWhisperModelConfig
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