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