#[non_exhaustive]pub struct Cast<S> {
pub voices: BTreeMap<String, CastVoice<S>>,
}Expand description
Which voice says each speaker’s lines, with the settings of the tool
that makes them (S).
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.voices: BTreeMap<String, CastVoice<S>>Voices by key: a speaker (a character id, or
NARRATION_SPEAKER for narration), or a speaker followed by a
variant’s suffix.
Implementations§
Trait Implementations§
impl<S: Eq> Eq for Cast<S>
impl<S: PartialEq> StructuralPartialEq for Cast<S>
Auto Trait Implementations§
impl<S> Freeze for Cast<S>
impl<S> RefUnwindSafe for Cast<S>where
S: RefUnwindSafe,
impl<S> Send for Cast<S>where
S: Send,
impl<S> Sync for Cast<S>where
S: Sync,
impl<S> Unpin for Cast<S>
impl<S> UnsafeUnpin for Cast<S>
impl<S> UnwindSafe for Cast<S>where
S: RefUnwindSafe,
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