Struct pipewire_wrapper::core_api::factory::info::FactoryInfoRef
source · #[repr(transparent)]pub struct FactoryInfoRef { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Debug for FactoryInfoRef
impl Debug for FactoryInfoRef
source§impl From<&FactoryInfoRef> for FactoryInfo
impl From<&FactoryInfoRef> for FactoryInfo
source§fn from(value: &FactoryInfoRef) -> Self
fn from(value: &FactoryInfoRef) -> Self
Converts to this type from the input type.
source§impl From<FactoryInfoRef> for pw_factory_info
impl From<FactoryInfoRef> for pw_factory_info
source§fn from(value: FactoryInfoRef) -> Self
fn from(value: FactoryInfoRef) -> Self
Converts to this type from the input type.
source§impl From<pw_factory_info> for FactoryInfoRef
impl From<pw_factory_info> for FactoryInfoRef
source§fn from(value: pw_factory_info) -> Self
fn from(value: pw_factory_info) -> Self
Converts to this type from the input type.
source§impl RawWrapper for FactoryInfoRef
impl RawWrapper for FactoryInfoRef
§type CType = pw_factory_info
type CType = pw_factory_info
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
Auto Trait Implementations§
impl RefUnwindSafe for FactoryInfoRef
impl !Send for FactoryInfoRef
impl !Sync for FactoryInfoRef
impl Unpin for FactoryInfoRef
impl UnwindSafe for FactoryInfoRef
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