Struct pipewire_sys::pw_client_events 
source · #[repr(C)]pub struct pw_client_events {
    pub version: u32,
    pub info: Option<unsafe extern "C" fn(object: *mut c_void, info: *const pw_client_info)>,
    pub permissions: Option<unsafe extern "C" fn(object: *mut c_void, index: u32, n_permissions: u32, permissions: *const pw_permission)>,
}Expand description
Client events
Fields§
§version: u32§info: Option<unsafe extern "C" fn(object: *mut c_void, info: *const pw_client_info)>Notify client info
\param info info about the client
permissions: Option<unsafe extern "C" fn(object: *mut c_void, index: u32, n_permissions: u32, permissions: *const pw_permission)>Notify a client permission
Event emitted as a result of the get_permissions method.
\param default_permissions the default permissions \param index the index of the first permission entry \param n_permissions the number of permissions \param permissions the permissions
Trait Implementations§
source§impl Clone for pw_client_events
 
impl Clone for pw_client_events
source§fn clone(&self) -> pw_client_events
 
fn clone(&self) -> pw_client_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_client_events
 
impl Debug for pw_client_events
impl Copy for pw_client_events
Auto Trait Implementations§
impl RefUnwindSafe for pw_client_events
impl Send for pw_client_events
impl Sync for pw_client_events
impl Unpin for pw_client_events
impl UnwindSafe for pw_client_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