#[repr(C)]pub struct SherpaOnnxOfflineTtsVitsModelConfig {
pub model: *const c_char,
pub lexicon: *const c_char,
pub tokens: *const c_char,
pub data_dir: *const c_char,
pub noise_scale: f32,
pub noise_scale_w: f32,
pub length_scale: f32,
pub dict_dir: *const c_char,
}
Fields§
§model: *const c_char
§lexicon: *const c_char
§tokens: *const c_char
§data_dir: *const c_char
§noise_scale: f32
§noise_scale_w: f32
§length_scale: f32
§dict_dir: *const c_char
Trait Implementations§
Source§impl Clone for SherpaOnnxOfflineTtsVitsModelConfig
impl Clone for SherpaOnnxOfflineTtsVitsModelConfig
Source§fn clone(&self) -> SherpaOnnxOfflineTtsVitsModelConfig
fn clone(&self) -> SherpaOnnxOfflineTtsVitsModelConfig
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 SherpaOnnxOfflineTtsVitsModelConfig
Auto Trait Implementations§
impl Freeze for SherpaOnnxOfflineTtsVitsModelConfig
impl RefUnwindSafe for SherpaOnnxOfflineTtsVitsModelConfig
impl !Send for SherpaOnnxOfflineTtsVitsModelConfig
impl !Sync for SherpaOnnxOfflineTtsVitsModelConfig
impl Unpin for SherpaOnnxOfflineTtsVitsModelConfig
impl UnwindSafe for SherpaOnnxOfflineTtsVitsModelConfig
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