Struct gdnative_bindings::audio_server::SpeakerMode
source · pub struct SpeakerMode(pub i64);
Tuple Fields§
§0: i64
Implementations§
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 copy 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<SpeakerMode> for SpeakerMode
impl PartialEq<SpeakerMode> for SpeakerMode
source§fn eq(&self, other: &SpeakerMode) -> bool
fn eq(&self, other: &SpeakerMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SpeakerMode> for SpeakerMode
impl PartialOrd<SpeakerMode> for SpeakerMode
source§fn partial_cmp(&self, other: &SpeakerMode) -> Option<Ordering>
fn partial_cmp(&self, other: &SpeakerMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SpeakerMode
impl Eq for SpeakerMode
impl StructuralEq for SpeakerMode
impl StructuralPartialEq for SpeakerMode
Auto Trait Implementations§
impl RefUnwindSafe for SpeakerMode
impl Send for SpeakerMode
impl Sync for SpeakerMode
impl Unpin for SpeakerMode
impl UnwindSafe for SpeakerMode
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.