Struct PlaySoundEvent
pub struct PlaySoundEvent<'a> {
pub instance: u64,
pub starting: bool,
pub original: &'a SoundPlay,
pub sound: &'a mut Option<SoundPlay>,
}Expand description
What Hooks::play_sound is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§instance: u64§starting: bool§original: &'a SoundPlay§sound: &'a mut Option<SoundPlay>Auto Trait Implementations§
impl<'a> !UnwindSafe for PlaySoundEvent<'a>
impl<'a> Freeze for PlaySoundEvent<'a>
impl<'a> RefUnwindSafe for PlaySoundEvent<'a>
impl<'a> Send for PlaySoundEvent<'a>
impl<'a> Sync for PlaySoundEvent<'a>
impl<'a> Unpin for PlaySoundEvent<'a>
impl<'a> UnsafeUnpin for PlaySoundEvent<'a>
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