#[non_exhaustive]pub struct VoiceLabels {Show 19 fields
pub models: ModelManagerLabels,
pub language: String,
pub languages: Vec<String>,
pub voice: String,
pub female: String,
pub male: String,
pub speaker: String,
pub speakers: Vec<String>,
pub read_aloud: String,
pub listen: String,
pub sample: String,
pub advanced: String,
pub temperature: (String, String),
pub top_k: (String, String),
pub repetition_penalty: (String, String),
pub repetition_window: (String, String),
pub recommended: String,
pub steadier: String,
pub decimal_comma: bool,
}Expand description
What the voice screen says.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.models: ModelManagerLabelsFor the list of models.
language: StringThe language’s field.
languages: Vec<String>The name of each of SPEECH_LANGUAGES, in its order.
voice: StringThe voice’s field.
female: StringThe female voice.
male: StringThe male voice.
speaker: StringThe field for the model’s own voices.
speakers: Vec<String>The name of each of KOKORO_SPEAKERS, in its order.
read_aloud: StringThe switch that reads answers aloud.
listen: StringThe button that plays a sample.
sample: StringWhat the sample says.
advanced: StringWhat the fine settings are called.
temperature: (String, String)How free each code is to vary, and what that does.
top_k: (String, String)How many codes it chooses among, and what that does.
repetition_penalty: (String, String)How much it avoids repeating, and what that does.
repetition_window: (String, String)How far back it looks, and what that does.
recommended: StringThe button for the recommended settings.
steadier: StringThe button for the steadier settings.
decimal_comma: boolWhether numbers use a comma.
Implementations§
Source§impl VoiceLabels
impl VoiceLabels
Sourcepub fn from_texts(texts: &Texts) -> Self
pub fn from_texts(texts: &Texts) -> Self
The texts of a catalog, in its language. What it does not have comes from English.
Trait Implementations§
Source§impl Clone for VoiceLabels
impl Clone for VoiceLabels
Source§fn clone(&self) -> VoiceLabels
fn clone(&self) -> VoiceLabels
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for VoiceLabels
impl Debug for VoiceLabels
Auto Trait Implementations§
impl Freeze for VoiceLabels
impl RefUnwindSafe for VoiceLabels
impl Send for VoiceLabels
impl Sync for VoiceLabels
impl Unpin for VoiceLabels
impl UnsafeUnpin for VoiceLabels
impl UnwindSafe for VoiceLabels
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more