Struct pipewire_wrapper::core_api::device::events::DeviceEventsBuilder
source · pub struct DeviceEventsBuilder<'p> { /* private fields */ }
Expand description
Builder for DeviceEvents
.
Implementations§
source§impl<'p> DeviceEventsBuilder<'p>
impl<'p> DeviceEventsBuilder<'p>
pub fn info(self, value: InfoCallback<'p>) -> Self
pub fn param(self, value: ParamCallback<'p>) -> Self
source§impl<'p> DeviceEventsBuilder<'p>
impl<'p> DeviceEventsBuilder<'p>
pub fn build(self) -> Pin<Box<DeviceEvents<'p>>>
Trait Implementations§
Auto Trait Implementations§
impl<'p> !RefUnwindSafe for DeviceEventsBuilder<'p>
impl<'p> !Send for DeviceEventsBuilder<'p>
impl<'p> !Sync for DeviceEventsBuilder<'p>
impl<'p> Unpin for DeviceEventsBuilder<'p>
impl<'p> !UnwindSafe for DeviceEventsBuilder<'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