Struct pipewire_sys::pw_session_events
source · #[repr(C)]pub struct pw_session_events {
pub version: u32,
pub info: Option<unsafe extern "C" fn(data: *mut c_void, info: *const pw_session_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)>,
}
Fields§
§version: u32
< version of this structure
info: Option<unsafe extern "C" fn(data: *mut c_void, info: *const pw_session_info)>
Notify session info
\param info info about the session
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 session 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_session_events
impl Clone for pw_session_events
source§fn clone(&self) -> pw_session_events
fn clone(&self) -> pw_session_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_session_events
impl Debug for pw_session_events
impl Copy for pw_session_events
Auto Trait Implementations§
impl RefUnwindSafe for pw_session_events
impl Send for pw_session_events
impl Sync for pw_session_events
impl Unpin for pw_session_events
impl UnwindSafe for pw_session_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