pub struct ParamType(pub spa_param_type);
Expand description
Different parameter types that can be queried
Tuple Fields§
§0: spa_param_type
Implementations§
Source§impl ParamType
impl ParamType
Sourcepub const EnumFormat: Self
pub const EnumFormat: Self
available formats as SPA_TYPE_OBJECT_Format
Sourcepub const EnumProfile: Self
pub const EnumProfile: Self
profile enumeration as SPA_TYPE_OBJECT_ParamProfile
Sourcepub const EnumPortConfig: Self
pub const EnumPortConfig: Self
port configuration enumeration as SPA_TYPE_OBJECT_ParamPortConfig
Sourcepub const PortConfig: Self
pub const PortConfig: Self
port configuration as SPA_TYPE_OBJECT_ParamPortConfig
Sourcepub const ProcessLatency: Self
pub const ProcessLatency: Self
processing latency, a SPA_TYPE_OBJECT_ParamProcessLatency
Sourcepub fn from_raw(raw: spa_param_type) -> Self
pub fn from_raw(raw: spa_param_type) -> Self
Obtain a ParamType
from a raw spa_param_type
variant.
Sourcepub fn as_raw(&self) -> spa_param_type
pub fn as_raw(&self) -> spa_param_type
Get the raw spa_sys::spa_param_type
representing this ParamType
.
Trait Implementations§
impl Copy for ParamType
impl Eq for ParamType
impl StructuralPartialEq for ParamType
Auto Trait Implementations§
impl Freeze for ParamType
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