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§
source§impl PartialEq for ParamType
impl PartialEq for ParamType
impl Copy for ParamType
impl Eq 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