Struct pipewire_wrapper::spa::pod::object::prop::AudioIec958Codec
source · #[repr(transparent)]pub struct AudioIec958Codec { /* private fields */ }
Implementations§
source§impl AudioIec958Codec
impl AudioIec958Codec
pub const UNKNOWN: AudioIec958Codec = _
pub const PCM: AudioIec958Codec = _
pub const DTS: AudioIec958Codec = _
pub const AC3: AudioIec958Codec = _
pub const MPEG: AudioIec958Codec = _
pub const MPEG2_AAC: AudioIec958Codec = _
pub const EAC3: AudioIec958Codec = _
pub const TRUEHD: AudioIec958Codec = _
pub const DTSHD: AudioIec958Codec = _
Trait Implementations§
source§impl Clone for AudioIec958Codec
impl Clone for AudioIec958Codec
source§fn clone(&self) -> AudioIec958Codec
fn clone(&self) -> AudioIec958Codec
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 AudioIec958Codec
impl Debug for AudioIec958Codec
source§impl From<AudioIec958Codec> for spa_audio_iec958_codec
impl From<AudioIec958Codec> for spa_audio_iec958_codec
source§fn from(value: AudioIec958Codec) -> Self
fn from(value: AudioIec958Codec) -> Self
Converts to this type from the input type.
source§impl From<u32> for AudioIec958Codec
impl From<u32> for AudioIec958Codec
source§fn from(value: spa_audio_iec958_codec) -> Self
fn from(value: spa_audio_iec958_codec) -> Self
Converts to this type from the input type.
source§impl PartialEq<AudioIec958Codec> for AudioIec958Codec
impl PartialEq<AudioIec958Codec> for AudioIec958Codec
source§fn eq(&self, other: &AudioIec958Codec) -> bool
fn eq(&self, other: &AudioIec958Codec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PodIdType for AudioIec958Codec
impl PodIdType for AudioIec958Codec
fn to_alloc_pod(&self) -> AllocPod<PodIdRef<Self>>
source§impl RawWrapper for AudioIec958Codec
impl RawWrapper for AudioIec958Codec
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 AudioIec958Codec
impl Eq for AudioIec958Codec
impl StructuralEq for AudioIec958Codec
impl StructuralPartialEq for AudioIec958Codec
Auto Trait Implementations§
impl RefUnwindSafe for AudioIec958Codec
impl Send for AudioIec958Codec
impl Sync for AudioIec958Codec
impl Unpin for AudioIec958Codec
impl UnwindSafe for AudioIec958Codec
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