Struct pipewire_wrapper::core_api::proxy::events::ProxyEventsRef
source · #[repr(transparent)]pub struct ProxyEventsRef { /* private fields */ }
Trait Implementations§
source§impl<'p> AsMut<ProxyEventsRef> for ProxyEvents<'p>
impl<'p> AsMut<ProxyEventsRef> for ProxyEvents<'p>
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<'p> AsRef<ProxyEventsRef> for ProxyEvents<'p>
impl<'p> AsRef<ProxyEventsRef> for ProxyEvents<'p>
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 ProxyEventsRef
impl Debug for ProxyEventsRef
source§impl From<ProxyEventsRef> for pw_proxy_events
impl From<ProxyEventsRef> for pw_proxy_events
source§fn from(value: ProxyEventsRef) -> Self
fn from(value: ProxyEventsRef) -> Self
Converts to this type from the input type.
source§impl From<pw_proxy_events> for ProxyEventsRef
impl From<pw_proxy_events> for ProxyEventsRef
source§fn from(value: pw_proxy_events) -> Self
fn from(value: pw_proxy_events) -> Self
Converts to this type from the input type.
source§impl RawWrapper for ProxyEventsRef
impl RawWrapper for ProxyEventsRef
§type CType = pw_proxy_events
type CType = pw_proxy_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 ProxyEventsRef
impl Send for ProxyEventsRef
impl Sync for ProxyEventsRef
impl Unpin for ProxyEventsRef
impl UnwindSafe for ProxyEventsRef
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