pub struct MusicEvent {
pub music_track: String,
}
Expand description
Fired when the game changes the music track.
Fields§
§music_track: String
The name of the track that is now playing.
Trait Implementations§
Source§impl Clone for MusicEvent
impl Clone for MusicEvent
Source§fn clone(&self) -> MusicEvent
fn clone(&self) -> MusicEvent
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 MusicEvent
impl Debug for MusicEvent
Source§impl<'de> Deserialize<'de> for MusicEvent
impl<'de> Deserialize<'de> for MusicEvent
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
Source§impl PartialEq for MusicEvent
impl PartialEq for MusicEvent
Source§impl Serialize for MusicEvent
impl Serialize for MusicEvent
impl StructuralPartialEq for MusicEvent
Auto Trait Implementations§
impl Freeze for MusicEvent
impl RefUnwindSafe for MusicEvent
impl Send for MusicEvent
impl Sync for MusicEvent
impl Unpin for MusicEvent
impl UnwindSafe for MusicEvent
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