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