Struct pipewire_wrapper::spa::interface::HookListRef
source · #[repr(transparent)]pub struct HookListRef { /* private fields */ }
Implementations§
source§impl HookListRef
impl HookListRef
Trait Implementations§
source§impl Debug for HookListRef
impl Debug for HookListRef
source§impl From<HookListRef> for spa_hook_list
impl From<HookListRef> for spa_hook_list
source§fn from(value: HookListRef) -> Self
fn from(value: HookListRef) -> Self
Converts to this type from the input type.
source§impl From<spa_hook_list> for HookListRef
impl From<spa_hook_list> for HookListRef
source§fn from(value: spa_hook_list) -> Self
fn from(value: spa_hook_list) -> Self
Converts to this type from the input type.
source§impl List for HookListRef
impl List for HookListRef
type Elem = HookRef
source§fn as_list_ptr(&self) -> *mut spa_list
fn as_list_ptr(&self) -> *mut spa_list
Raw pointer to the list itself
source§fn initialized(&self) -> bool
fn initialized(&self) -> bool
Check if this list was initialized
fn empty(&self) -> bool
source§unsafe fn insert_list(&mut self, other: &mut Self)
unsafe fn insert_list(&mut self, other: &mut Self)
Join two lists Read more
source§unsafe fn next(&self, current: &Self::Elem) -> Option<&mut Self::Elem>
unsafe fn next(&self, current: &Self::Elem) -> Option<&mut Self::Elem>
Get the next element from the list Read more
source§unsafe fn prev(&self, current: &Self::Elem) -> Option<&mut Self::Elem>
unsafe fn prev(&self, current: &Self::Elem) -> Option<&mut Self::Elem>
Get the previous element from the list Read more
source§impl RawWrapper for HookListRef
impl RawWrapper for HookListRef
§type CType = spa_hook_list
type CType = spa_hook_list
External type
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
Auto Trait Implementations§
impl RefUnwindSafe for HookListRef
impl !Send for HookListRef
impl !Sync for HookListRef
impl Unpin for HookListRef
impl UnwindSafe for HookListRef
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