pub struct KokoroConfig {
pub model_path: String,
pub voices_dir: String,
pub default_voice: String,
pub speed: f32,
}Fields§
§model_path: String§voices_dir: String§default_voice: String§speed: f32Trait Implementations§
Source§impl Clone for KokoroConfig
impl Clone for KokoroConfig
Source§fn clone(&self) -> KokoroConfig
fn clone(&self) -> KokoroConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KokoroConfig
impl Debug for KokoroConfig
Source§impl<'de> Deserialize<'de> for KokoroConfig
impl<'de> Deserialize<'de> for KokoroConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for KokoroConfig
impl RefUnwindSafe for KokoroConfig
impl Send for KokoroConfig
impl Sync for KokoroConfig
impl Unpin for KokoroConfig
impl UnsafeUnpin for KokoroConfig
impl UnwindSafe for KokoroConfig
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