pub struct InboxDrainRegistry { /* private fields */ }Implementations§
Source§impl InboxDrainRegistry
impl InboxDrainRegistry
pub fn register(&mut self, drainer: Arc<dyn InboxDrain>)
pub fn drain_all( &self, host: &mut dyn InboxDrainHost, window: Option<AppWindowId>, ) -> bool
Trait Implementations§
Source§impl Default for InboxDrainRegistry
impl Default for InboxDrainRegistry
Source§fn default() -> InboxDrainRegistry
fn default() -> InboxDrainRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InboxDrainRegistry
impl !RefUnwindSafe for InboxDrainRegistry
impl Send for InboxDrainRegistry
impl Sync for InboxDrainRegistry
impl Unpin for InboxDrainRegistry
impl UnsafeUnpin for InboxDrainRegistry
impl !UnwindSafe for InboxDrainRegistry
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