Struct pipewire_sys::pw_protocol_implementation 
source · #[repr(C)]pub struct pw_protocol_implementation {
    pub version: u32,
    pub new_client: Option<unsafe extern "C" fn(protocol: *mut pw_protocol, core: *mut pw_core, props: *const spa_dict) -> *mut pw_protocol_client>,
    pub add_server: Option<unsafe extern "C" fn(protocol: *mut pw_protocol, core: *mut pw_impl_core, props: *const spa_dict) -> *mut pw_protocol_server>,
}Fields§
§version: u32§new_client: Option<unsafe extern "C" fn(protocol: *mut pw_protocol, core: *mut pw_core, props: *const spa_dict) -> *mut pw_protocol_client>§add_server: Option<unsafe extern "C" fn(protocol: *mut pw_protocol, core: *mut pw_impl_core, props: *const spa_dict) -> *mut pw_protocol_server>Trait Implementations§
source§impl Clone for pw_protocol_implementation
 
impl Clone for pw_protocol_implementation
source§fn clone(&self) -> pw_protocol_implementation
 
fn clone(&self) -> pw_protocol_implementation
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_protocol_implementation
 
impl Debug for pw_protocol_implementation
impl Copy for pw_protocol_implementation
Auto Trait Implementations§
impl RefUnwindSafe for pw_protocol_implementation
impl Send for pw_protocol_implementation
impl Sync for pw_protocol_implementation
impl Unpin for pw_protocol_implementation
impl UnwindSafe for pw_protocol_implementation
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