Struct pipewire_sys::pw_node_events
source · #[repr(C)]pub struct pw_node_events {
pub version: u32,
pub info: Option<unsafe extern "C" fn(data: *mut c_void, info: *const pw_node_info)>,
pub param: Option<unsafe extern "C" fn(data: *mut c_void, seq: c_int, id: u32, index: u32, next: u32, param: *const spa_pod)>,
}
Expand description
Node events
Fields§
§version: u32
§info: Option<unsafe extern "C" fn(data: *mut c_void, info: *const pw_node_info)>
Notify node info
\param info info about the node
param: Option<unsafe extern "C" fn(data: *mut c_void, seq: c_int, id: u32, index: u32, next: u32, param: *const spa_pod)>
Notify a node param
Event emitted as a result of the enum_params method.
\param seq the sequence number of the request \param id the param id \param index the param index \param next the param index of the next param \param param the parameter
Trait Implementations§
source§impl Clone for pw_node_events
impl Clone for pw_node_events
source§fn clone(&self) -> pw_node_events
fn clone(&self) -> pw_node_events
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 pw_node_events
impl Debug for pw_node_events
impl Copy for pw_node_events
Auto Trait Implementations§
impl RefUnwindSafe for pw_node_events
impl Send for pw_node_events
impl Sync for pw_node_events
impl Unpin for pw_node_events
impl UnwindSafe for pw_node_events
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