pub struct SoundId(pub u16);Expand description
A sound’s identity in the caller’s tables. The mixer carries it through and never interprets it.
§Example
use psx_sfx::mixer::SoundId;
const HIT: SoundId = SoundId(3);
assert_eq!(HIT.0, 3);Tuple Fields§
§0: u16Trait Implementations§
impl Copy for SoundId
impl Eq for SoundId
impl StructuralPartialEq for SoundId
Auto Trait Implementations§
impl Freeze for SoundId
impl RefUnwindSafe for SoundId
impl Send for SoundId
impl Sync for SoundId
impl Unpin for SoundId
impl UnsafeUnpin for SoundId
impl UnwindSafe for SoundId
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)