pub enum TTSPrompt {
Basic(Prompt),
Preset(PresetPrompt),
Smart(SmartPrompt),
}Expand description
Union type for all prompt types
Variants§
Basic(Prompt)
Basic emotion control (ssfm-v21 compatible)
Preset(PresetPrompt)
Explicit preset emotion control (ssfm-v30)
Smart(SmartPrompt)
Context-aware emotion inference (ssfm-v30)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TTSPrompt
impl<'de> Deserialize<'de> for TTSPrompt
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
Source§impl From<PresetPrompt> for TTSPrompt
impl From<PresetPrompt> for TTSPrompt
Source§fn from(prompt: PresetPrompt) -> Self
fn from(prompt: PresetPrompt) -> Self
Converts to this type from the input type.
Source§impl From<SmartPrompt> for TTSPrompt
impl From<SmartPrompt> for TTSPrompt
Source§fn from(prompt: SmartPrompt) -> Self
fn from(prompt: SmartPrompt) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TTSPrompt
impl RefUnwindSafe for TTSPrompt
impl Send for TTSPrompt
impl Sync for TTSPrompt
impl Unpin for TTSPrompt
impl UnsafeUnpin for TTSPrompt
impl UnwindSafe for TTSPrompt
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