pub struct MusicConfig {
pub filename: String,
pub halfpipe: bool,
pub tracks: bool,
pub author: String,
pub track: String,
pub volume: f32,
}Fields§
§filename: String§halfpipe: bool§tracks: bool§track: String§volume: f32Trait Implementations§
Source§impl Clone for MusicConfig
impl Clone for MusicConfig
Source§fn clone(&self) -> MusicConfig
fn clone(&self) -> MusicConfig
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 moreSource§impl Debug for MusicConfig
impl Debug for MusicConfig
Source§impl<'de> Deserialize<'de> for MusicConfig
impl<'de> Deserialize<'de> for MusicConfig
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 MusicConfig
impl RefUnwindSafe for MusicConfig
impl Send for MusicConfig
impl Sync for MusicConfig
impl Unpin for MusicConfig
impl UnsafeUnpin for MusicConfig
impl UnwindSafe for MusicConfig
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