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