Struct pipewire_sys::pw_node_info
source · #[repr(C)]pub struct pw_node_info {
pub id: u32,
pub max_input_ports: u32,
pub max_output_ports: u32,
pub change_mask: u64,
pub n_input_ports: u32,
pub n_output_ports: u32,
pub state: pw_node_state,
pub error: *const c_char,
pub props: *mut spa_dict,
pub params: *mut spa_param_info,
pub n_params: u32,
}
Expand description
The node information. Extra information can be added in later versions
Fields§
§id: u32
< id of the global
max_input_ports: u32
< maximum number of inputs
max_output_ports: u32
< maximum number of outputs
change_mask: u64
< bitfield of changed fields since last call
n_input_ports: u32
< number of inputs
n_output_ports: u32
< number of outputs
state: pw_node_state
< the current state of the node
error: *const c_char
< an error reason if \a state is error
props: *mut spa_dict
< the properties of the node
params: *mut spa_param_info
< parameters
n_params: u32
< number of items in \a params
Trait Implementations§
source§impl Clone for pw_node_info
impl Clone for pw_node_info
source§fn clone(&self) -> pw_node_info
fn clone(&self) -> pw_node_info
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_node_info
impl Debug for pw_node_info
impl Copy for pw_node_info
Auto Trait Implementations§
impl RefUnwindSafe for pw_node_info
impl !Send for pw_node_info
impl !Sync for pw_node_info
impl Unpin for pw_node_info
impl UnwindSafe for pw_node_info
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