Struct pipewire_sys::pw_impl_metadata_events 
source · #[repr(C)]pub struct pw_impl_metadata_events {
    pub version: u32,
    pub destroy: Option<unsafe extern "C" fn(data: *mut c_void)>,
    pub free: Option<unsafe extern "C" fn(data: *mut c_void)>,
    pub property: Option<unsafe extern "C" fn(data: *mut c_void, subject: u32, key: *const c_char, type_: *const c_char, value: *const c_char) -> c_int>,
}Expand description
Metadata events, listen to them with \ref pw_impl_metadata_add_listener
Fields§
§version: u32§destroy: Option<unsafe extern "C" fn(data: *mut c_void)>the metadata is destroyed
free: Option<unsafe extern "C" fn(data: *mut c_void)>the metadata is freed
property: Option<unsafe extern "C" fn(data: *mut c_void, subject: u32, key: *const c_char, type_: *const c_char, value: *const c_char) -> c_int>a property changed
Trait Implementations§
source§impl Clone for pw_impl_metadata_events
 
impl Clone for pw_impl_metadata_events
source§fn clone(&self) -> pw_impl_metadata_events
 
fn clone(&self) -> pw_impl_metadata_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_impl_metadata_events
 
impl Debug for pw_impl_metadata_events
impl Copy for pw_impl_metadata_events
Auto Trait Implementations§
impl RefUnwindSafe for pw_impl_metadata_events
impl Send for pw_impl_metadata_events
impl Sync for pw_impl_metadata_events
impl Unpin for pw_impl_metadata_events
impl UnwindSafe for pw_impl_metadata_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