#[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 duplicate 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
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 Freeze for spa_graph_node_callbacks
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