pub enum AudioLocation {
Show 28 variants
FrontLeft = 1,
FrontRight = 2,
FrontCenter = 4,
LowFrequencyEffects1 = 8,
BackLeft = 16,
BackRight = 32,
FrontLeftOfCenter = 64,
FrontRightOfCenter = 128,
BackCenter = 256,
LowFrequencyEffects2 = 512,
SideLeft = 1_024,
SideRight = 2_048,
TopFrontLeft = 4_096,
TopFrontRight = 8_192,
TopFrontCenter = 16_384,
TopCenter = 32_768,
TopBackLeft = 65_536,
TopBackRight = 131_072,
TopSideLeft = 262_144,
TopSideRight = 524_288,
TopBackCenter = 1_048_576,
BottomFrontCenter = 2_097_152,
BottomFrontLeft = 4_194_304,
BottomFrontRight = 8_388_608,
FrontLeftWide = 16_777_216,
FrontRightWide = 33_554_432,
LeftSurround = 67_108_864,
RightSurround = 134_217_728,
}
Variants§
FrontLeft = 1
FrontRight = 2
FrontCenter = 4
LowFrequencyEffects1 = 8
BackLeft = 16
BackRight = 32
FrontLeftOfCenter = 64
FrontRightOfCenter = 128
BackCenter = 256
LowFrequencyEffects2 = 512
SideLeft = 1_024
SideRight = 2_048
TopFrontLeft = 4_096
TopFrontRight = 8_192
TopFrontCenter = 16_384
TopCenter = 32_768
TopBackLeft = 65_536
TopBackRight = 131_072
TopSideLeft = 262_144
TopSideRight = 524_288
TopBackCenter = 1_048_576
BottomFrontCenter = 2_097_152
BottomFrontLeft = 4_194_304
BottomFrontRight = 8_388_608
FrontLeftWide = 16_777_216
FrontRightWide = 33_554_432
LeftSurround = 67_108_864
RightSurround = 134_217_728
Implementations§
Source§impl AudioLocation
impl AudioLocation
Source§impl AudioLocation
impl AudioLocation
pub fn from_bits(v: u32) -> impl Iterator<Item = AudioLocation>
pub fn to_bits<'a>(it: impl Iterator<Item = &'a AudioLocation>) -> u32
Trait Implementations§
Source§impl Clone for AudioLocation
impl Clone for AudioLocation
Source§fn clone(&self) -> AudioLocation
fn clone(&self) -> AudioLocation
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 AudioLocation
impl Debug for AudioLocation
Source§impl From<AudioLocation> for u32
impl From<AudioLocation> for u32
Source§fn from(v: AudioLocation) -> u32
fn from(v: AudioLocation) -> u32
Converts to this type from the input type.
Source§impl Hash for AudioLocation
impl Hash for AudioLocation
Source§impl PartialEq for AudioLocation
impl PartialEq for AudioLocation
Source§impl TryFrom<u32> for AudioLocation
impl TryFrom<u32> for AudioLocation
impl Copy for AudioLocation
impl Eq for AudioLocation
impl StructuralPartialEq for AudioLocation
Auto Trait Implementations§
impl Freeze for AudioLocation
impl RefUnwindSafe for AudioLocation
impl Send for AudioLocation
impl Sync for AudioLocation
impl Unpin for AudioLocation
impl UnwindSafe for AudioLocation
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