Struct pipewire_wrapper::core_api::factory::FactoryRef
source · #[repr(transparent)]pub struct FactoryRef { /* private fields */ }
Trait Implementations§
source§impl<'a> AddListener<'a> for FactoryRef
impl<'a> AddListener<'a> for FactoryRef
source§impl<'c> AsMut<FactoryRef> for Factory<'c>
impl<'c> AsMut<FactoryRef> for Factory<'c>
source§fn as_mut(&mut self) -> &'c mut FactoryRef
fn as_mut(&mut self) -> &'c mut FactoryRef
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl<'c> AsRef<FactoryRef> for Factory<'c>
impl<'c> AsRef<FactoryRef> for Factory<'c>
source§fn as_ref(&self) -> &'c FactoryRef
fn as_ref(&self) -> &'c FactoryRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Debug for FactoryRef
impl Debug for FactoryRef
source§impl From<FactoryRef> for pw_factory
impl From<FactoryRef> for pw_factory
source§fn from(value: FactoryRef) -> Self
fn from(value: FactoryRef) -> Self
Converts to this type from the input type.
source§impl From<pw_factory> for FactoryRef
impl From<pw_factory> for FactoryRef
source§fn from(value: pw_factory) -> Self
fn from(value: pw_factory) -> Self
Converts to this type from the input type.
source§impl Proxied for FactoryRef
impl Proxied for FactoryRef
source§impl RawWrapper for FactoryRef
impl RawWrapper for FactoryRef
§type CType = pw_factory
type CType = pw_factory
External type
source§fn as_raw_ptr(&self) -> *mut Self::CType
fn as_raw_ptr(&self) -> *mut Self::CType
Raw ptr to the external type
source§fn from_raw(raw: Self::CType) -> Self
fn from_raw(raw: Self::CType) -> Self
Creates wrapper from the external value, can be use when external type has no raw pointers.
source§unsafe fn mut_from_raw_ptr<'lft>(raw: *mut Self::CType) -> &'lft mut Self
unsafe fn mut_from_raw_ptr<'lft>(raw: *mut Self::CType) -> &'lft mut Self
Cast external pointer to the borrowed mutable wrapper.
Panic when pointer is null.
Lifetime is not reliable and should be guaranteed explicitly. Read more
source§impl SpaInterface for FactoryRef
impl SpaInterface for FactoryRef
§type Methods = pw_factory_methods
type Methods = pw_factory_methods
spa_sys::spa_interface methods structure
source§fn spa_interface(&self) -> &InterfaceRef
fn spa_interface(&self) -> &InterfaceRef
Interface wrapper
Auto Trait Implementations§
impl RefUnwindSafe for FactoryRef
impl Send for FactoryRef
impl Sync for FactoryRef
impl Unpin for FactoryRef
impl UnwindSafe for FactoryRef
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