Struct pipewire_wrapper::core_api::registry::events::RegistryEventsRef
source · #[repr(transparent)]pub struct RegistryEventsRef { /* private fields */ }
Trait Implementations§
source§impl<'r> AsMut<RegistryEventsRef> for RegistryEvents<'r>
impl<'r> AsMut<RegistryEventsRef> for RegistryEvents<'r>
source§fn as_mut(&mut self) -> &mut <Self as Wrapper>::RawWrapperType
fn as_mut(&mut self) -> &mut <Self as Wrapper>::RawWrapperType
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl<'r> AsRef<RegistryEventsRef> for RegistryEvents<'r>
impl<'r> AsRef<RegistryEventsRef> for RegistryEvents<'r>
source§fn as_ref(&self) -> &<Self as Wrapper>::RawWrapperType
fn as_ref(&self) -> &<Self as Wrapper>::RawWrapperType
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Debug for RegistryEventsRef
impl Debug for RegistryEventsRef
source§impl From<RegistryEventsRef> for pw_registry_events
impl From<RegistryEventsRef> for pw_registry_events
source§fn from(value: RegistryEventsRef) -> Self
fn from(value: RegistryEventsRef) -> Self
Converts to this type from the input type.
source§impl From<pw_registry_events> for RegistryEventsRef
impl From<pw_registry_events> for RegistryEventsRef
source§fn from(value: pw_registry_events) -> Self
fn from(value: pw_registry_events) -> Self
Converts to this type from the input type.
source§impl RawWrapper for RegistryEventsRef
impl RawWrapper for RegistryEventsRef
§type CType = pw_registry_events
type CType = pw_registry_events
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 RegistryEventsRef
impl Send for RegistryEventsRef
impl Sync for RegistryEventsRef
impl Unpin for RegistryEventsRef
impl UnwindSafe for RegistryEventsRef
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