pub struct SpeakerMode(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl SpeakerMode
impl SpeakerMode
pub const MODE_STEREO: SpeakerMode
pub const SURROUND_31: SpeakerMode
pub const SURROUND_51: SpeakerMode
pub const SURROUND_71: SpeakerMode
Trait Implementations§
Source§impl Clone for SpeakerMode
impl Clone for SpeakerMode
Source§fn clone(&self) -> SpeakerMode
fn clone(&self) -> SpeakerMode
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 SpeakerMode
impl Debug for SpeakerMode
Source§impl From<SpeakerMode> for i64
impl From<SpeakerMode> for i64
Source§fn from(v: SpeakerMode) -> Self
fn from(v: SpeakerMode) -> Self
Converts to this type from the input type.
Source§impl From<i64> for SpeakerMode
impl From<i64> for SpeakerMode
Source§impl FromVariant for SpeakerMode
impl FromVariant for SpeakerMode
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for SpeakerMode
impl Hash for SpeakerMode
Source§impl Ord for SpeakerMode
impl Ord for SpeakerMode
Source§fn cmp(&self, other: &SpeakerMode) -> Ordering
fn cmp(&self, other: &SpeakerMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SpeakerMode
impl PartialEq for SpeakerMode
Source§impl PartialOrd for SpeakerMode
impl PartialOrd for SpeakerMode
impl Copy for SpeakerMode
impl Eq for SpeakerMode
impl StructuralPartialEq for SpeakerMode
Auto Trait Implementations§
impl Freeze for SpeakerMode
impl RefUnwindSafe for SpeakerMode
impl Send for SpeakerMode
impl Sync for SpeakerMode
impl Unpin for SpeakerMode
impl UnwindSafe for SpeakerMode
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.