Struct pipewire_wrapper::core_api::proxy::events::ProxyEventsBuilder
source · pub struct ProxyEventsBuilder<'p> { /* private fields */ }
Expand description
Builder for ProxyEvents
.
Implementations§
source§impl<'p> ProxyEventsBuilder<'p>
impl<'p> ProxyEventsBuilder<'p>
pub fn destroy(self, value: DestroyCallback<'p>) -> Self
pub fn bound(self, value: BoundCallback<'p>) -> Self
pub fn removed(self, value: RemovedCallback<'p>) -> Self
pub fn done(self, value: DoneCallback<'p>) -> Self
pub fn error(self, value: ErrorCallback<'p>) -> Self
source§impl<'c> ProxyEventsBuilder<'c>
impl<'c> ProxyEventsBuilder<'c>
pub fn build(self) -> Pin<Box<ProxyEvents<'c>>>
Trait Implementations§
Auto Trait Implementations§
impl<'p> !RefUnwindSafe for ProxyEventsBuilder<'p>
impl<'p> !Send for ProxyEventsBuilder<'p>
impl<'p> !Sync for ProxyEventsBuilder<'p>
impl<'p> Unpin for ProxyEventsBuilder<'p>
impl<'p> !UnwindSafe for ProxyEventsBuilder<'p>
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