Struct Music
pub struct Music {
pub sound: String,
pub min_delay: i32,
pub max_delay: i32,
pub replace_current_music: bool,
}Expand description
Music: a sound event and the delay range (ticks) before it starts.
Fields§
§sound: String§min_delay: i32§max_delay: i32§replace_current_music: boolImplementations§
Trait Implementations§
impl StructuralPartialEq for Music
Auto Trait Implementations§
impl Freeze for Music
impl RefUnwindSafe for Music
impl Send for Music
impl Sync for Music
impl Unpin for Music
impl UnsafeUnpin for Music
impl UnwindSafe for Music
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