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