Struct pipewire_wrapper::impl_api::protocol::Protocol
source · pub struct Protocol { /* private fields */ }
Implementations§
Trait Implementations§
source§impl AsMut<ProtocolRef> for Protocol
impl AsMut<ProtocolRef> for Protocol
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<ProtocolRef> for Protocol
impl AsRef<ProtocolRef> for Protocol
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 Wrapper for Protocol
impl Wrapper for Protocol
§type RawWrapperType = ProtocolRef
type RawWrapperType = ProtocolRef
RawWrapper type
source§fn into_raw(self) -> *mut <Self::RawWrapperType as RawWrapper>::CType
fn into_raw(self) -> *mut <Self::RawWrapperType as RawWrapper>::CType
Converts the Wrapper into raw pointer, that must be dropped manually.
Used when the external method takes the ownership.
source§fn as_raw(&self) -> *mut <Self::RawWrapperType as RawWrapper>::CType
fn as_raw(&self) -> *mut <Self::RawWrapperType as RawWrapper>::CType
Raw mutable pointer to the external value.
Auto Trait Implementations§
impl RefUnwindSafe for Protocol
impl !Send for Protocol
impl !Sync for Protocol
impl Unpin for Protocol
impl UnwindSafe for Protocol
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