Struct PlaySoundSourceEvent
pub struct PlaySoundSourceEvent<'a> {
pub sound: &'a SoundPlay,
pub channel: &'a ChannelRef,
}Expand description
What Hooks::play_sound_source is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§sound: &'a SoundPlay§channel: &'a ChannelRefAuto Trait Implementations§
impl<'a> Freeze for PlaySoundSourceEvent<'a>
impl<'a> RefUnwindSafe for PlaySoundSourceEvent<'a>
impl<'a> Send for PlaySoundSourceEvent<'a>
impl<'a> Sync for PlaySoundSourceEvent<'a>
impl<'a> Unpin for PlaySoundSourceEvent<'a>
impl<'a> UnsafeUnpin for PlaySoundSourceEvent<'a>
impl<'a> UnwindSafe for PlaySoundSourceEvent<'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