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