Struct libspa_sys::spa_graph_node_callbacks
source · #[repr(C)]pub struct spa_graph_node_callbacks {
pub version: u32,
pub process: Option<unsafe extern "C" fn(data: *mut c_void, node: *mut spa_graph_node) -> c_int>,
pub reuse_buffer: Option<unsafe extern "C" fn(data: *mut c_void, node: *mut spa_graph_node, port_id: u32, buffer_id: u32) -> c_int>,
}
Fields§
§version: u32
§process: Option<unsafe extern "C" fn(data: *mut c_void, node: *mut spa_graph_node) -> c_int>
§reuse_buffer: Option<unsafe extern "C" fn(data: *mut c_void, node: *mut spa_graph_node, port_id: u32, buffer_id: u32) -> c_int>
Trait Implementations§
source§impl Clone for spa_graph_node_callbacks
impl Clone for spa_graph_node_callbacks
source§fn clone(&self) -> spa_graph_node_callbacks
fn clone(&self) -> spa_graph_node_callbacks
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 spa_graph_node_callbacks
impl Debug for spa_graph_node_callbacks
source§impl PartialEq for spa_graph_node_callbacks
impl PartialEq for spa_graph_node_callbacks
source§fn eq(&self, other: &spa_graph_node_callbacks) -> bool
fn eq(&self, other: &spa_graph_node_callbacks) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for spa_graph_node_callbacks
impl Eq for spa_graph_node_callbacks
impl StructuralPartialEq for spa_graph_node_callbacks
Auto Trait Implementations§
impl RefUnwindSafe for spa_graph_node_callbacks
impl Send for spa_graph_node_callbacks
impl Sync for spa_graph_node_callbacks
impl Unpin for spa_graph_node_callbacks
impl UnwindSafe for spa_graph_node_callbacks
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