Struct pipewire::factory::FactoryInfo
source · pub struct FactoryInfo { /* private fields */ }
Implementations§
source§impl FactoryInfo
impl FactoryInfo
pub fn new(ptr: NonNull<pw_factory_info>) -> Self
pub fn from_raw(raw: *mut pw_factory_info) -> Self
pub fn into_raw(self) -> *mut pw_factory_info
Methods from Deref<Target = FactoryInfoRef>§
pub fn as_raw(&self) -> &pw_factory_info
pub fn as_raw_ptr(&self) -> *mut pw_factory_info
pub fn id(&self) -> u32
pub fn type_(&self) -> ObjectType
pub fn version(&self) -> u32
pub fn change_mask(&self) -> FactoryChangeMask
pub fn props(&self) -> Option<&DictRef>
Trait Implementations§
source§impl AsRef<FactoryInfoRef> for FactoryInfo
impl AsRef<FactoryInfoRef> for FactoryInfo
source§fn as_ref(&self) -> &FactoryInfoRef
fn as_ref(&self) -> &FactoryInfoRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Debug for FactoryInfo
impl Debug for FactoryInfo
source§impl Deref for FactoryInfo
impl Deref for FactoryInfo
Auto Trait Implementations§
impl RefUnwindSafe for FactoryInfo
impl !Send for FactoryInfo
impl !Sync for FactoryInfo
impl Unpin for FactoryInfo
impl UnwindSafe for FactoryInfo
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