pub struct SoundEvent {
pub key: Identifier,
pub sound_id: Identifier,
pub fixed_range: Option<f32>,
}Expand description
Built-in sound event registry entry used by sound packets and data-driven audio refs.
Fields§
§key: Identifier§sound_id: Identifier§fixed_range: Option<f32>Implementations§
Source§impl SoundEvent
impl SoundEvent
Trait Implementations§
Source§impl Debug for SoundEvent
impl Debug for SoundEvent
Source§impl PartialEq for SoundEvent
impl PartialEq for SoundEvent
Source§fn eq(&self, other: &SoundEvent) -> bool
fn eq(&self, other: &SoundEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RegistryEntry for SoundEvent
impl RegistryEntry for SoundEvent
impl StructuralPartialEq for SoundEvent
Auto Trait Implementations§
impl Freeze for SoundEvent
impl RefUnwindSafe for SoundEvent
impl Send for SoundEvent
impl Sync for SoundEvent
impl Unpin for SoundEvent
impl UnsafeUnpin for SoundEvent
impl UnwindSafe for SoundEvent
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