Struct pipewire::node::NodeInfoRef
source · pub struct NodeInfoRef(/* private fields */);
Implementations§
source§impl NodeInfoRef
impl NodeInfoRef
pub fn as_raw(&self) -> &pw_node_info
pub fn as_raw_ptr(&self) -> *mut pw_node_info
pub fn id(&self) -> u32
pub fn max_input_ports(&self) -> u32
pub fn max_output_ports(&self) -> u32
pub fn change_mask(&self) -> NodeChangeMask
pub fn n_input_ports(&self) -> u32
pub fn n_output_ports(&self) -> u32
pub fn state(&self) -> NodeState<'_>
pub fn props(&self) -> Option<&DictRef>
Trait Implementations§
source§impl AsRef<NodeInfoRef> for NodeInfo
impl AsRef<NodeInfoRef> for NodeInfo
source§fn as_ref(&self) -> &NodeInfoRef
fn as_ref(&self) -> &NodeInfoRef
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl RefUnwindSafe for NodeInfoRef
impl !Send for NodeInfoRef
impl !Sync for NodeInfoRef
impl Unpin for NodeInfoRef
impl UnwindSafe for NodeInfoRef
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