pub enum Speech<'s> {
Text(Cow<'s, str>),
Xml(Cow<'s, str>),
}Expand description
A speech to be rendered by a synthesizer.
Variants§
Trait Implementations§
Source§impl<'s> From<&mut SpeechBuilder> for Speech<'s>
impl<'s> From<&mut SpeechBuilder> for Speech<'s>
Source§fn from(builder: &mut SpeechBuilder) -> Self
fn from(builder: &mut SpeechBuilder) -> Self
Converts to this type from the input type.
Source§impl<'s> From<SpeechBuilder> for Speech<'s>
impl<'s> From<SpeechBuilder> for Speech<'s>
Source§fn from(builder: SpeechBuilder) -> Self
fn from(builder: SpeechBuilder) -> Self
Converts to this type from the input type.
Source§impl<'s> PartialEq for Speech<'s>
impl<'s> PartialEq for Speech<'s>
impl<'s> Eq for Speech<'s>
impl<'s> StructuralPartialEq for Speech<'s>
Auto Trait Implementations§
impl<'s> Freeze for Speech<'s>
impl<'s> RefUnwindSafe for Speech<'s>
impl<'s> Send for Speech<'s>
impl<'s> Sync for Speech<'s>
impl<'s> Unpin for Speech<'s>
impl<'s> UnsafeUnpin for Speech<'s>
impl<'s> UnwindSafe for Speech<'s>
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