#[repr(i32)]pub enum Speaker {
Show 13 variants
None = -1,
FrontLeft = 0,
FrontRight = 1,
FrontCenter = 2,
LowFrequency = 3,
SurroundLeft = 4,
SurroundRight = 5,
BackLeft = 6,
BackRight = 7,
TopFrontLeft = 8,
TopFrontRight = 9,
TopBackLeft = 10,
TopBackRight = 11,
}Variants§
None = -1
FrontLeft = 0
FrontRight = 1
FrontCenter = 2
LowFrequency = 3
SurroundLeft = 4
SurroundRight = 5
BackLeft = 6
BackRight = 7
TopFrontLeft = 8
TopFrontRight = 9
TopBackLeft = 10
TopBackRight = 11
Trait Implementations§
source§impl PartialEq for Speaker
impl PartialEq for Speaker
source§impl TryFrom<i32> for Speaker
impl TryFrom<i32> for Speaker
§type Error = TryFromPrimitiveError<Speaker>
type Error = TryFromPrimitiveError<Speaker>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for Speaker
impl TryFromPrimitive for Speaker
source§impl UnsafeFromPrimitive for Speaker
impl UnsafeFromPrimitive for Speaker
type Primitive = i32
source§unsafe fn unchecked_transmute_from(number: Self::Primitive) -> Self
unsafe fn unchecked_transmute_from(number: Self::Primitive) -> Self
Transmutes into an enum from its primitive. Read more
source§unsafe fn from_unchecked(number: Self::Primitive) -> Self
unsafe fn from_unchecked(number: Self::Primitive) -> Self
👎Deprecated since 0.6.0: Prefer to use
unchecked_transmute_from, from_unchecked will be removed in a future release.Transmutes into an enum from its primitive. Read more
impl Copy for Speaker
impl Eq for Speaker
impl StructuralPartialEq for Speaker
Auto Trait Implementations§
impl Freeze for Speaker
impl RefUnwindSafe for Speaker
impl Send for Speaker
impl Sync for Speaker
impl Unpin for Speaker
impl UnwindSafe for Speaker
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