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