pub struct SoundId(/* private fields */);Expand description
Identifies a decoded clip held by the audio engine.
Handles are opaque and cheap to copy; store them in an array indexed by the
app’s own cue enum. SoundId::NONE never plays anything.
Implementations§
Trait Implementations§
impl Copy for SoundId
impl Eq for SoundId
Source§impl Ord for SoundId
impl Ord for SoundId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for SoundId
impl PartialOrd 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§
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