Enum qapi_qmp::AudioFormat
source · pub enum AudioFormat {
u8,
s8,
u16,
s16,
u32,
s32,
f32,
}
Variants§
Trait Implementations§
source§impl Clone for AudioFormat
impl Clone for AudioFormat
source§fn clone(&self) -> AudioFormat
fn clone(&self) -> AudioFormat
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 AudioFormat
impl Debug for AudioFormat
source§impl<'de> Deserialize<'de> for AudioFormat
impl<'de> Deserialize<'de> for AudioFormat
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Enum for AudioFormat
impl Enum for AudioFormat
source§impl FromStr for AudioFormat
impl FromStr for AudioFormat
source§impl Hash for AudioFormat
impl Hash for AudioFormat
source§impl Ord for AudioFormat
impl Ord for AudioFormat
source§fn cmp(&self, other: &AudioFormat) -> Ordering
fn cmp(&self, other: &AudioFormat) -> 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<AudioFormat> for AudioFormat
impl PartialEq<AudioFormat> for AudioFormat
source§fn eq(&self, other: &AudioFormat) -> bool
fn eq(&self, other: &AudioFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AudioFormat> for AudioFormat
impl PartialOrd<AudioFormat> for AudioFormat
source§fn partial_cmp(&self, other: &AudioFormat) -> Option<Ordering>
fn partial_cmp(&self, other: &AudioFormat) -> 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 moresource§impl Serialize for AudioFormat
impl Serialize for AudioFormat
impl Copy for AudioFormat
impl Eq for AudioFormat
impl StructuralEq for AudioFormat
impl StructuralPartialEq for AudioFormat
Auto Trait Implementations§
impl RefUnwindSafe for AudioFormat
impl Send for AudioFormat
impl Sync for AudioFormat
impl Unpin for AudioFormat
impl UnwindSafe for AudioFormat
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