Struct pipewire_wrapper::spa::pod::object::format::AudioFormat
source · #[repr(transparent)]pub struct AudioFormat { /* private fields */ }
Implementations§
source§impl AudioFormat
impl AudioFormat
pub const UNKNOWN: AudioFormat = _
pub const ENCODED: AudioFormat = _
pub const _START_INTERLEAVED: AudioFormat = _
pub const S8: AudioFormat = _
pub const U8: AudioFormat = _
pub const S16_LE: AudioFormat = _
pub const S16_BE: AudioFormat = _
pub const U16_LE: AudioFormat = _
pub const U16_BE: AudioFormat = _
pub const S24_32_LE: AudioFormat = _
pub const S24_32_BE: AudioFormat = _
pub const U24_32_LE: AudioFormat = _
pub const U24_32_BE: AudioFormat = _
pub const S32_LE: AudioFormat = _
pub const S32_BE: AudioFormat = _
pub const U32_LE: AudioFormat = _
pub const U32_BE: AudioFormat = _
pub const S24_LE: AudioFormat = _
pub const S24_BE: AudioFormat = _
pub const U24_LE: AudioFormat = _
pub const U24_BE: AudioFormat = _
pub const S20_LE: AudioFormat = _
pub const S20_BE: AudioFormat = _
pub const U20_LE: AudioFormat = _
pub const U20_BE: AudioFormat = _
pub const S18_LE: AudioFormat = _
pub const S18_BE: AudioFormat = _
pub const U18_LE: AudioFormat = _
pub const U18_BE: AudioFormat = _
pub const F32_LE: AudioFormat = _
pub const F32_BE: AudioFormat = _
pub const F64_LE: AudioFormat = _
pub const F64_BE: AudioFormat = _
pub const ULAW: AudioFormat = _
pub const ALAW: AudioFormat = _
pub const _START_PLANAR: AudioFormat = _
pub const U8P: AudioFormat = _
pub const S16P: AudioFormat = _
pub const S24_32P: AudioFormat = _
pub const S32P: AudioFormat = _
pub const S24P: AudioFormat = _
pub const F32P: AudioFormat = _
pub const F64P: AudioFormat = _
pub const S8P: AudioFormat = _
pub const _START_OTHER: AudioFormat = _
pub const DSP_S32: AudioFormat = _
pub const DSP_F32: AudioFormat = _
pub const DSP_F64: AudioFormat = _
pub const S16: AudioFormat = _
pub const U16: AudioFormat = _
pub const S24_32: AudioFormat = _
pub const U24_32: AudioFormat = _
pub const S32: AudioFormat = _
pub const U32: AudioFormat = _
pub const S24: AudioFormat = _
pub const U24: AudioFormat = _
pub const S20: AudioFormat = _
pub const U20: AudioFormat = _
pub const S18: AudioFormat = _
pub const U18: AudioFormat = _
pub const F32: AudioFormat = _
pub const F64: AudioFormat = _
pub const S16_OE: AudioFormat = _
pub const U16_OE: AudioFormat = _
pub const S24_32_OE: AudioFormat = _
pub const U24_32_OE: AudioFormat = _
pub const S32_OE: AudioFormat = _
pub const U32_OE: AudioFormat = _
pub const S24_OE: AudioFormat = _
pub const U24_OE: AudioFormat = _
pub const S20_OE: AudioFormat = _
pub const U20_OE: AudioFormat = _
pub const S18_OE: AudioFormat = _
pub const U18_OE: AudioFormat = _
pub const F32_OE: AudioFormat = _
pub const F64_OE: AudioFormat = _
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 From<AudioFormat> for spa_audio_format
impl From<AudioFormat> for spa_audio_format
source§fn from(value: AudioFormat) -> Self
fn from(value: AudioFormat) -> Self
Converts to this type from the input type.
source§impl From<u32> for AudioFormat
impl From<u32> for AudioFormat
source§fn from(value: spa_audio_format) -> Self
fn from(value: spa_audio_format) -> Self
Converts to this type from the input type.
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 PodIdType for AudioFormat
impl PodIdType for AudioFormat
fn to_alloc_pod(&self) -> AllocPod<PodIdRef<Self>>
source§impl RawWrapper for AudioFormat
impl RawWrapper for AudioFormat
source§fn as_raw_ptr(&self) -> *mut Self::CType
fn as_raw_ptr(&self) -> *mut Self::CType
Raw ptr to the external type
source§fn from_raw(raw: Self::CType) -> Self
fn from_raw(raw: Self::CType) -> Self
Creates wrapper from the external value, can be use when external type has no raw pointers.
source§unsafe fn mut_from_raw_ptr<'lft>(raw: *mut Self::CType) -> &'lft mut Self
unsafe fn mut_from_raw_ptr<'lft>(raw: *mut Self::CType) -> &'lft mut Self
Cast external pointer to the borrowed mutable wrapper.
Panic when pointer is null.
Lifetime is not reliable and should be guaranteed explicitly. Read more
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