pub struct LinkInfo { /* private fields */ }
Implementations§
source§impl LinkInfo
impl LinkInfo
pub fn new(ptr: NonNull<pw_link_info>) -> Self
pub fn from_raw(raw: *mut pw_link_info) -> Self
pub fn into_raw(self) -> *mut pw_link_info
Methods from Deref<Target = 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 LinkInfo
impl !Send for LinkInfo
impl !Sync for LinkInfo
impl Unpin for LinkInfo
impl UnwindSafe for LinkInfo
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