Struct pipewire::device::DeviceInfo
source · pub struct DeviceInfo { /* private fields */ }
Implementations§
source§impl DeviceInfo
impl DeviceInfo
pub fn new(ptr: NonNull<pw_device_info>) -> Self
pub fn from_raw(raw: *mut pw_device_info) -> Self
pub fn into_raw(self) -> *mut pw_device_info
Methods from Deref<Target = 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.
source§impl Debug for DeviceInfo
impl Debug for DeviceInfo
source§impl Deref for DeviceInfo
impl Deref for DeviceInfo
Auto Trait Implementations§
impl RefUnwindSafe for DeviceInfo
impl !Send for DeviceInfo
impl !Sync for DeviceInfo
impl Unpin for DeviceInfo
impl UnwindSafe for DeviceInfo
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