pub struct MusicTrack {
pub effect: Option<String>,
pub mood: (f32, f32),
pub months: (i32, i32),
}Expand description
One MusicList track (0x18 bytes): played when the month and the town’s mood are in range.
Original: FUN_1400a95b0.
Fields§
§effect: Option<String>The music’s sound effect.
mood: (f32, f32)Mood range (health and happiness fractions, averaged).
months: (i32, i32)Month range, inclusive.
Trait Implementations§
Source§impl Clone for MusicTrack
impl Clone for MusicTrack
Source§fn clone(&self) -> MusicTrack
fn clone(&self) -> MusicTrack
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 MusicTrack
impl Debug for MusicTrack
Source§impl PartialEq for MusicTrack
impl PartialEq for MusicTrack
impl StructuralPartialEq for MusicTrack
Auto Trait Implementations§
impl Freeze for MusicTrack
impl RefUnwindSafe for MusicTrack
impl Send for MusicTrack
impl Sync for MusicTrack
impl Unpin for MusicTrack
impl UnsafeUnpin for MusicTrack
impl UnwindSafe for MusicTrack
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