Struct pipewire::port::PortInfoRef
source · pub struct PortInfoRef(/* private fields */);
Implementations§
source§impl PortInfoRef
impl PortInfoRef
pub fn as_raw(&self) -> &pw_port_info
pub fn as_raw_ptr(&self) -> *mut pw_port_info
pub fn id(&self) -> u32
pub fn direction(&self) -> Direction
pub fn change_mask(&self) -> PortChangeMask
pub fn props(&self) -> Option<&DictRef>
Trait Implementations§
source§impl AsRef<PortInfoRef> for PortInfo
impl AsRef<PortInfoRef> for PortInfo
source§fn as_ref(&self) -> &PortInfoRef
fn as_ref(&self) -> &PortInfoRef
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl RefUnwindSafe for PortInfoRef
impl !Send for PortInfoRef
impl !Sync for PortInfoRef
impl Unpin for PortInfoRef
impl UnwindSafe for PortInfoRef
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