Struct pipewire::context::ContextRef
source · pub struct ContextRef(/* private fields */);
Implementations§
source§impl ContextRef
impl ContextRef
pub fn as_raw(&self) -> &pw_context
pub fn as_raw_ptr(&self) -> *mut pw_context
pub fn properties(&self) -> &PropertiesRef
pub fn update_properties(&self, properties: &DictRef)
Trait Implementations§
source§impl AsRef<ContextRef> for Context
impl AsRef<ContextRef> for Context
source§fn as_ref(&self) -> &ContextRef
fn as_ref(&self) -> &ContextRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<ContextRef> for ContextInner
impl AsRef<ContextRef> for ContextInner
source§fn as_ref(&self) -> &ContextRef
fn as_ref(&self) -> &ContextRef
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl RefUnwindSafe for ContextRef
impl Send for ContextRef
impl Sync for ContextRef
impl Unpin for ContextRef
impl UnwindSafe for ContextRef
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