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