Struct wireplumber::plugin::SourceHandlesCell
source · pub struct SourceHandlesCell(/* private fields */);
Implementations§
source§impl SourceHandlesCell
impl SourceHandlesCell
pub fn init(&self, context: MainContext)
pub fn try_init(&self, context: MainContext) -> Result<(), MainContext>
pub fn push(&self, source: SourceId)
pub fn clear(&self)
pub fn cell(&self) -> &RefCell<Option<SourceHandles>>
pub fn borrow_mut<R, F: FnOnce(&mut SourceHandles) -> R>(&self, f: F) -> R
Trait Implementations§
source§impl Debug for SourceHandlesCell
impl Debug for SourceHandlesCell
source§impl Default for SourceHandlesCell
impl Default for SourceHandlesCell
source§fn default() -> SourceHandlesCell
fn default() -> SourceHandlesCell
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for SourceHandlesCell
impl !RefUnwindSafe for SourceHandlesCell
impl Send for SourceHandlesCell
impl !Sync for SourceHandlesCell
impl Unpin for SourceHandlesCell
impl UnwindSafe for SourceHandlesCell
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