pub enum SoundType {
GameEffect,
GuiEffect,
Ambient,
Environment,
Walking,
Alert,
Wind,
WorldAmbient,
Weapon,
Explosion,
Enemy,
}Expand description
Defines which slider in the game’s sound settings affects the volume of this sound. Furthermore, some sound types are mixed differently than others, e.g. zoom level effects are applied.
Variants§
Implementations§
Trait Implementations§
impl Copy for SoundType
impl Eq for SoundType
impl StructuralPartialEq for SoundType
Auto Trait Implementations§
impl Freeze for SoundType
impl RefUnwindSafe for SoundType
impl Send for SoundType
impl Sync for SoundType
impl Unpin for SoundType
impl UnsafeUnpin for SoundType
impl UnwindSafe for SoundType
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