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