Struct wireplumber_sys::WpSiAdapterInterface
source · #[repr(C)]pub struct WpSiAdapterInterface {
pub interface: GTypeInterface,
pub get_ports_format: Option<unsafe extern "C" fn(_: *mut WpSiAdapter, _: *mut *const c_char) -> *mut WpSpaPod>,
pub set_ports_format: Option<unsafe extern "C" fn(_: *mut WpSiAdapter, _: *mut WpSpaPod, _: *const c_char, _: GAsyncReadyCallback, _: gpointer)>,
pub set_ports_format_finish: Option<unsafe extern "C" fn(_: *mut WpSiAdapter, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
pub get_ports_state: Option<unsafe extern "C" fn(_: *mut WpSiAdapter) -> WpSiAdapterPortsState>,
pub _wp_padding: [gpointer; 4],
}
Fields§
§interface: GTypeInterface
§get_ports_format: Option<unsafe extern "C" fn(_: *mut WpSiAdapter, _: *mut *const c_char) -> *mut WpSpaPod>
§set_ports_format: Option<unsafe extern "C" fn(_: *mut WpSiAdapter, _: *mut WpSpaPod, _: *const c_char, _: GAsyncReadyCallback, _: gpointer)>
§set_ports_format_finish: Option<unsafe extern "C" fn(_: *mut WpSiAdapter, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
§get_ports_state: Option<unsafe extern "C" fn(_: *mut WpSiAdapter) -> WpSiAdapterPortsState>
§_wp_padding: [gpointer; 4]
Trait Implementations§
source§impl Clone for WpSiAdapterInterface
impl Clone for WpSiAdapterInterface
source§fn clone(&self) -> WpSiAdapterInterface
fn clone(&self) -> WpSiAdapterInterface
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 WpSiAdapterInterface
impl Debug for WpSiAdapterInterface
impl Copy for WpSiAdapterInterface
Auto Trait Implementations§
impl Freeze for WpSiAdapterInterface
impl RefUnwindSafe for WpSiAdapterInterface
impl !Send for WpSiAdapterInterface
impl !Sync for WpSiAdapterInterface
impl Unpin for WpSiAdapterInterface
impl UnwindSafe for WpSiAdapterInterface
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