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