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