pub struct Soundboard {
pub audio_filename: Option<String>,
pub bg_audio_filename: Option<String>,
pub highlight_color: Option<String>,
pub one_at_a_time: bool,
pub show_hints: bool,
pub items: Vec<SoundboardItem>,
}
Fields§
§audio_filename: Option<String>
§bg_audio_filename: Option<String>
§highlight_color: Option<String>
this isn’t actually used for anything
one_at_a_time: bool
this isn’t actually used for anything
show_hints: bool
§items: Vec<SoundboardItem>
Trait Implementations§
Source§impl Clone for Soundboard
impl Clone for Soundboard
Source§fn clone(&self) -> Soundboard
fn clone(&self) -> Soundboard
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Soundboard
impl Debug for Soundboard
Source§impl<'de> Deserialize<'de> for Soundboard
impl<'de> Deserialize<'de> for Soundboard
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
Auto Trait Implementations§
impl Freeze for Soundboard
impl RefUnwindSafe for Soundboard
impl Send for Soundboard
impl Sync for Soundboard
impl Unpin for Soundboard
impl UnwindSafe for Soundboard
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