Struct pipewire::link::LinkInfoRef
source · pub struct LinkInfoRef(/* private fields */);
Implementations§
source§impl LinkInfoRef
impl LinkInfoRef
pub fn as_raw(&self) -> &pw_link_info
pub fn as_raw_ptr(&self) -> *mut pw_link_info
pub fn id(&self) -> u32
pub fn output_node_id(&self) -> u32
pub fn output_port_id(&self) -> u32
pub fn input_node_id(&self) -> u32
pub fn input_port_id(&self) -> u32
pub fn state(&self) -> LinkState<'_>
pub fn change_mask(&self) -> LinkChangeMask
pub fn format(&self) -> Option<&Pod>
pub fn props(&self) -> Option<&DictRef>
Trait Implementations§
source§impl AsRef<LinkInfoRef> for LinkInfo
impl AsRef<LinkInfoRef> for LinkInfo
source§fn as_ref(&self) -> &LinkInfoRef
fn as_ref(&self) -> &LinkInfoRef
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl RefUnwindSafe for LinkInfoRef
impl !Send for LinkInfoRef
impl !Sync for LinkInfoRef
impl Unpin for LinkInfoRef
impl UnwindSafe for LinkInfoRef
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