Struct pipewire_wrapper::spa::param::ParamType
source · #[repr(transparent)]pub struct ParamType { /* private fields */ }
Implementations§
source§impl ParamType
impl ParamType
pub const INVALID: ParamType = _
pub const PROP_INFO: ParamType = _
pub const PROPS: ParamType = _
pub const ENUM_FORMAT: ParamType = _
pub const FORMAT: ParamType = _
pub const BUFFERS: ParamType = _
pub const META: ParamType = _
pub const IO: ParamType = _
pub const ENUM_PROFILE: ParamType = _
pub const PROFILE: ParamType = _
pub const ENUM_PORT_CONFIG: ParamType = _
pub const PORT_CONFIG: ParamType = _
pub const ENUM_ROUTE: ParamType = _
pub const ROUTE: ParamType = _
pub const CONTROL: ParamType = _
pub const LATENCY: ParamType = _
pub const PROCESS_LATENCY: ParamType = _
Trait Implementations§
source§impl From<ParamType> for spa_param_type
impl From<ParamType> for spa_param_type
source§impl From<u32> for ParamType
impl From<u32> for ParamType
source§fn from(value: spa_param_type) -> Self
fn from(value: spa_param_type) -> Self
Converts to this type from the input type.
source§impl PartialEq<ParamType> for ParamType
impl PartialEq<ParamType> for ParamType
source§impl RawWrapper for ParamType
impl RawWrapper for ParamType
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 ParamType
impl Eq for ParamType
impl StructuralEq for ParamType
impl StructuralPartialEq for ParamType
Auto Trait Implementations§
impl RefUnwindSafe for ParamType
impl Send for ParamType
impl Sync for ParamType
impl Unpin for ParamType
impl UnwindSafe for ParamType
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