Struct pipewire_wrapper::core_api::node::Node
source · pub struct Node<'c> { /* private fields */ }
Implementations§
Methods from Deref<Target = NodeRef>§
pub fn subscribe_params(&self, param_types: &[ParamType]) -> Result<()>
pub fn enum_params( &self, seq: i32, id: ParamType, start: u32, num: u32, filter: Option<&PodRef> ) -> Result<()>
Trait Implementations§
source§impl<'a> OwnListeners<'a> for Node<'a>
impl<'a> OwnListeners<'a> for Node<'a>
source§fn listeners(
&self
) -> &Listeners<Pin<Box<<<Self as Wrapper>::RawWrapperType as AddListener<'a>>::Events>>>
fn listeners( &self ) -> &Listeners<Pin<Box<<<Self as Wrapper>::RawWrapperType as AddListener<'a>>::Events>>>
Listeners storege
source§fn add_listener(
&self,
events: Pin<Box<<<Self as Wrapper>::RawWrapperType as AddListener<'a>>::Events>>
) -> ListenerId
fn add_listener( &self, events: Pin<Box<<<Self as Wrapper>::RawWrapperType as AddListener<'a>>::Events>> ) -> ListenerId
Register new listener and add it to storage. Read more
source§fn remove_listener(
&'a mut self,
id: ListenerId
) -> Option<Pin<Box<<<Self as Wrapper>::RawWrapperType as AddListener<'a>>::Events>>>
fn remove_listener( &'a mut self, id: ListenerId ) -> Option<Pin<Box<<<Self as Wrapper>::RawWrapperType as AddListener<'a>>::Events>>>
Remove listener with the given ListenerId from storage. Read more
source§fn contains_listener(&self, id: ListenerId) -> bool
fn contains_listener(&self, id: ListenerId) -> bool
Whether the storage contains listener with the given id.
source§impl<'c> Wrapper for Node<'c>
impl<'c> Wrapper for Node<'c>
§type RawWrapperType = NodeRef
type RawWrapperType = NodeRef
RawWrapper type
source§fn into_raw(self) -> *mut <Self::RawWrapperType as RawWrapper>::CType
fn into_raw(self) -> *mut <Self::RawWrapperType as RawWrapper>::CType
Converts the Wrapper into raw pointer, that must be dropped manually.
Used when the external method takes the ownership.
source§fn as_raw(&self) -> *mut <Self::RawWrapperType as RawWrapper>::CType
fn as_raw(&self) -> *mut <Self::RawWrapperType as RawWrapper>::CType
Raw mutable pointer to the external value.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for Node<'c>
impl<'c> !Send for Node<'c>
impl<'c> !Sync for Node<'c>
impl<'c> Unpin for Node<'c>
impl<'c> UnwindSafe for Node<'c>
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