#[non_exhaustive]pub struct Params {
pub rate: Rate,
pub pitch: Pitch,
pub pitch_range: PitchRange,
pub volume: Volume,
pub punctuation_mode: Punctuation,
pub spelling_mode: Spelling,
pub cap_let_recogn: CapitalLetters,
pub voice_type: VoiceType,
pub voice_name: String,
pub language: String,
pub custom: HashMap<String, String>,
}Expand description
Module parameter storage
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.rate: RateSpeaking rate
pitch: PitchVoice baseline pitch
pitch_range: PitchRangeVoice pitch variation range
volume: VolumeVoice volume or intensity
punctuation_mode: PunctuationPunctuation verbosity mode
spelling_mode: SpellingSpelling mode enabled
cap_let_recogn: CapitalLettersCapital letter recognition
voice_type: VoiceTypeSymbolic voice type
voice_name: StringSynthesis voice name
language: StringInput text language
custom: HashMap<String, String>Accepted custom parameters
Trait Implementations§
impl Eq for Params
impl StructuralPartialEq for Params
Auto Trait Implementations§
impl Freeze for Params
impl RefUnwindSafe for Params
impl Send for Params
impl Sync for Params
impl Unpin for Params
impl UnsafeUnpin for Params
impl UnwindSafe for Params
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