Struct wireplumber::spa::SpaIdTable
source · pub struct SpaIdTable { /* private fields */ }
Implementations§
source§impl SpaIdTable
impl SpaIdTable
pub fn from_name(name: &str) -> Option<Self>
pub fn values(&self) -> IntoValueIterator<SpaIdValue>
pub fn find_value(&self, value: u32) -> Option<SpaIdValue>
pub fn find_value_from_name(&self, name: &str) -> Option<SpaIdValue>
pub fn find_value_from_short_name(&self, name: &str) -> Option<SpaIdValue>
Trait Implementations§
source§impl Clone for SpaIdTable
impl Clone for SpaIdTable
source§fn clone(&self) -> SpaIdTable
fn clone(&self) -> SpaIdTable
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 SpaIdTable
impl Debug for SpaIdTable
source§impl Hash for SpaIdTable
impl Hash for SpaIdTable
source§impl IntoGlib for SpaIdTable
impl IntoGlib for SpaIdTable
source§impl OptionIntoGlib for SpaIdTable
impl OptionIntoGlib for SpaIdTable
const GLIB_NONE: WpSpaIdTable = {0x0 as *const libc::c_void}
source§impl Ord for SpaIdTable
impl Ord for SpaIdTable
source§fn cmp(&self, other: &SpaIdTable) -> Ordering
fn cmp(&self, other: &SpaIdTable) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SpaIdTable
impl PartialEq for SpaIdTable
source§fn eq(&self, other: &SpaIdTable) -> bool
fn eq(&self, other: &SpaIdTable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SpaIdTable
impl PartialOrd for SpaIdTable
source§fn partial_cmp(&self, other: &SpaIdTable) -> Option<Ordering>
fn partial_cmp(&self, other: &SpaIdTable) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl StaticType for SpaIdTable
impl StaticType for SpaIdTable
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl TryFromGlib<*const c_void> for SpaIdTable
impl TryFromGlib<*const c_void> for SpaIdTable
type Error = GlibNoneError
unsafe fn try_from_glib(val: WpSpaIdTable) -> Result<Self, Self::Error>
source§impl UnsafeFrom<*const c_void> for SpaIdTable
impl UnsafeFrom<*const c_void> for SpaIdTable
source§unsafe fn unsafe_from(inner: WpSpaIdTable) -> Self
unsafe fn unsafe_from(inner: WpSpaIdTable) -> Self
Safety Read more
source§impl UnsafeFrom<NonNull<c_void>> for SpaIdTable
impl UnsafeFrom<NonNull<c_void>> for SpaIdTable
impl Copy for SpaIdTable
impl Eq for SpaIdTable
impl StructuralPartialEq for SpaIdTable
Auto Trait Implementations§
impl Freeze for SpaIdTable
impl RefUnwindSafe for SpaIdTable
impl !Send for SpaIdTable
impl !Sync for SpaIdTable
impl Unpin for SpaIdTable
impl UnwindSafe for SpaIdTable
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
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.