Struct pipewire_wrapper::impl_api::impl_core::ImplCoreRef
source · #[repr(transparent)]pub struct ImplCoreRef { /* private fields */ }
Implementations§
source§impl ImplCoreRef
impl ImplCoreRef
pub fn get_default_core(context: &Arc<Context>) -> &Self
pub fn get_properties(&self) -> &PropertiesRef
pub fn update_properties(&self, properties: &DictRef) -> i32
pub fn get_info(&self) -> &CoreInfoRef
pub fn register(&self, properties: Properties) -> Result<()>
pub fn get_global(&self) -> &GlobalRef
Trait Implementations§
source§impl AsMut<ImplCoreRef> for ImplCore
impl AsMut<ImplCoreRef> for ImplCore
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<ImplCoreRef> for ImplCore
impl AsRef<ImplCoreRef> for ImplCore
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 ImplCoreRef
impl Debug for ImplCoreRef
source§impl From<ImplCoreRef> for pw_impl_core
impl From<ImplCoreRef> for pw_impl_core
source§fn from(value: ImplCoreRef) -> Self
fn from(value: ImplCoreRef) -> Self
Converts to this type from the input type.
source§impl From<pw_impl_core> for ImplCoreRef
impl From<pw_impl_core> for ImplCoreRef
source§fn from(value: pw_impl_core) -> Self
fn from(value: pw_impl_core) -> Self
Converts to this type from the input type.
source§impl RawWrapper for ImplCoreRef
impl RawWrapper for ImplCoreRef
§type CType = pw_impl_core
type CType = pw_impl_core
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 ImplCoreRef
impl Send for ImplCoreRef
impl Sync for ImplCoreRef
impl Unpin for ImplCoreRef
impl UnwindSafe for ImplCoreRef
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