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