Struct pipewire_wrapper::core_api::node::info::NodeInfoRef
source · #[repr(transparent)]pub struct NodeInfoRef { /* private fields */ }
Implementations§
source§impl NodeInfoRef
impl NodeInfoRef
pub fn id(&self) -> u32
pub fn max_input_ports(&self) -> u32
pub fn max_output_ports(&self) -> u32
pub fn change_mask(&self) -> ChangeMask
pub fn n_input_ports(&self) -> u32
pub fn n_output_ports(&self) -> u32
pub fn state(&self) -> NodeState
pub fn error(&self) -> Option<&CStr>
pub fn props(&self) -> &DictRef
pub fn params(&self) -> &[ParamInfoRef]
Trait Implementations§
source§impl Debug for NodeInfoRef
impl Debug for NodeInfoRef
source§impl From<&NodeInfoRef> for NodeInfo
impl From<&NodeInfoRef> for NodeInfo
source§fn from(value: &NodeInfoRef) -> Self
fn from(value: &NodeInfoRef) -> Self
Converts to this type from the input type.
source§impl From<NodeInfoRef> for pw_node_info
impl From<NodeInfoRef> for pw_node_info
source§fn from(value: NodeInfoRef) -> Self
fn from(value: NodeInfoRef) -> Self
Converts to this type from the input type.
source§impl From<pw_node_info> for NodeInfoRef
impl From<pw_node_info> for NodeInfoRef
source§fn from(value: pw_node_info) -> Self
fn from(value: pw_node_info) -> Self
Converts to this type from the input type.
source§impl RawWrapper for NodeInfoRef
impl RawWrapper for NodeInfoRef
§type CType = pw_node_info
type CType = pw_node_info
External type
source§fn as_raw_ptr(&self) -> *mut Self::CType
fn as_raw_ptr(&self) -> *mut Self::CType
Raw ptr to the external type
source§fn from_raw(raw: Self::CType) -> Self
fn from_raw(raw: Self::CType) -> Self
Creates wrapper from the external value, can be use when external type has no raw pointers.
source§unsafe fn mut_from_raw_ptr<'lft>(raw: *mut Self::CType) -> &'lft mut Self
unsafe fn mut_from_raw_ptr<'lft>(raw: *mut Self::CType) -> &'lft mut Self
Cast external pointer to the borrowed mutable wrapper.
Panic when pointer is null.
Lifetime is not reliable and should be guaranteed explicitly. Read more
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