#[non_exhaustive]pub struct CastVoice<S> {
pub voice: String,
pub settings: S,
}Expand description
One voice of the Cast.
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.voice: StringWhat a clip’s voice records: a reference
clip’s name for a generated voice, an actor’s for a recorded one.
settings: SWhat only the tool that makes the voice knows: which program reads, or the sample it copies.
Implementations§
Trait Implementations§
Source§impl<'de, S> Deserialize<'de> for CastVoice<S>where
S: Deserialize<'de>,
impl<'de, S> Deserialize<'de> for CastVoice<S>where
S: Deserialize<'de>,
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
impl<S: Eq> Eq for CastVoice<S>
impl<S: PartialEq> StructuralPartialEq for CastVoice<S>
Auto Trait Implementations§
impl<S> Freeze for CastVoice<S>where
S: Freeze,
impl<S> RefUnwindSafe for CastVoice<S>where
S: RefUnwindSafe,
impl<S> Send for CastVoice<S>where
S: Send,
impl<S> Sync for CastVoice<S>where
S: Sync,
impl<S> Unpin for CastVoice<S>where
S: Unpin,
impl<S> UnsafeUnpin for CastVoice<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for CastVoice<S>where
S: UnwindSafe,
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