Struct pipewire_sys::pw_port_events
source · #[repr(C)]pub struct pw_port_events {
pub version: u32,
pub info: Option<unsafe extern "C" fn(data: *mut c_void, info: *const pw_port_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
Port events
Fields§
§version: u32
§info: Option<unsafe extern "C" fn(data: *mut c_void, info: *const pw_port_info)>
Notify port info
\param info info about the port
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 port 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_port_events
impl Clone for pw_port_events
source§fn clone(&self) -> pw_port_events
fn clone(&self) -> pw_port_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_port_events
impl Debug for pw_port_events
impl Copy for pw_port_events
Auto Trait Implementations§
impl RefUnwindSafe for pw_port_events
impl Send for pw_port_events
impl Sync for pw_port_events
impl Unpin for pw_port_events
impl UnwindSafe for pw_port_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