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