Struct pipewire_wrapper::core_api::core::info::CoreInfoRef
source · #[repr(transparent)]pub struct CoreInfoRef { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Debug for CoreInfoRef
impl Debug for CoreInfoRef
source§impl From<&CoreInfoRef> for CoreInfo
impl From<&CoreInfoRef> for CoreInfo
source§fn from(value: &CoreInfoRef) -> Self
fn from(value: &CoreInfoRef) -> Self
Converts to this type from the input type.
source§impl From<CoreInfoRef> for pw_core_info
impl From<CoreInfoRef> for pw_core_info
source§fn from(value: CoreInfoRef) -> Self
fn from(value: CoreInfoRef) -> Self
Converts to this type from the input type.
source§impl From<pw_core_info> for CoreInfoRef
impl From<pw_core_info> for CoreInfoRef
source§fn from(value: pw_core_info) -> Self
fn from(value: pw_core_info) -> Self
Converts to this type from the input type.
source§impl RawWrapper for CoreInfoRef
impl RawWrapper for CoreInfoRef
§type CType = pw_core_info
type CType = pw_core_info
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 CoreInfoRef
impl !Send for CoreInfoRef
impl !Sync for CoreInfoRef
impl Unpin for CoreInfoRef
impl UnwindSafe for CoreInfoRef
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