#[non_exhaustive]pub struct VoiceFiles {
pub folder: &'static str,
pub lang: &'static str,
pub manifest: &'static str,
}Expand description
Where a game’s voice clips are (game ADR-0046): a folder shipped beside the game (not embedded), with a folder per language holding the manifest and the clips.
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.folder: &'static strThe folder beside the game, e.g. voice.
lang: &'static strThe script’s language, whose folder is read, e.g. en.
manifest: &'static strThe manifest’s file name in that folder, e.g. voice.ron.
Implementations§
Trait Implementations§
Source§impl Clone for VoiceFiles
impl Clone for VoiceFiles
Source§fn clone(&self) -> VoiceFiles
fn clone(&self) -> VoiceFiles
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 moreimpl Copy for VoiceFiles
Auto Trait Implementations§
impl Freeze for VoiceFiles
impl RefUnwindSafe for VoiceFiles
impl Send for VoiceFiles
impl Sync for VoiceFiles
impl Unpin for VoiceFiles
impl UnsafeUnpin for VoiceFiles
impl UnwindSafe for VoiceFiles
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