pub struct CastConfig {
pub show: String,
pub title: Option<String>,
pub season_title: Option<String>,
pub artist: String,
pub tag: String,
pub cast: IndexMap<String, Voice>,
}Fields§
§show: String§title: Option<String>§season_title: Option<String>§artist: String§tag: String§cast: IndexMap<String, Voice>Speaker key → voice settings, in file order.
Implementations§
Source§impl CastConfig
impl CastConfig
pub fn load(path: &Path) -> Result<CastConfig>
Trait Implementations§
Source§impl Clone for CastConfig
impl Clone for CastConfig
Source§fn clone(&self) -> CastConfig
fn clone(&self) -> CastConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CastConfig
impl RefUnwindSafe for CastConfig
impl Send for CastConfig
impl Sync for CastConfig
impl Unpin for CastConfig
impl UnsafeUnpin for CastConfig
impl UnwindSafe for CastConfig
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