pub enum AudioChannel {
Default,
Effects,
Interface,
Music,
Custom {
value: u32,
},
}
Expand description
Can be used to separate audio space to allow different transforms to apply to different groups of playing sounds.
Can be extended with Custom by using concrete project values.
Variants§
Default
Default audio channel
Effects
Effects audio channel
Interface
Interface audio channel
Music
Music audio channel
Custom
Allows AudioChannel to be extended (e.g. for using project specific enumerated audio channels or entity specific channels).
Trait Implementations§
Source§impl Clone for AudioChannel
impl Clone for AudioChannel
Source§fn clone(&self) -> AudioChannel
fn clone(&self) -> AudioChannel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AudioChannel
impl Debug for AudioChannel
Source§impl PartialEq for AudioChannel
impl PartialEq for AudioChannel
impl Copy for AudioChannel
impl Eq for AudioChannel
impl StructuralPartialEq for AudioChannel
Auto Trait Implementations§
impl Freeze for AudioChannel
impl RefUnwindSafe for AudioChannel
impl Send for AudioChannel
impl Sync for AudioChannel
impl Unpin for AudioChannel
impl UnwindSafe for AudioChannel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Fr, To> IntoColor<To> for Frwhere
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Frwhere
To: FromColor<Fr>,
Source§fn into_color(self) -> To
fn into_color(self) -> To
Convert into color