pub struct MenuCloseDone(/* private fields */);Expand description
What settles a close that MenuCallbacks::on_close_async waits for,
as the promise JS’s onClose returns does (result.then(finish, finish)): finish it, or drop it, and the menu clears
unless it was opened again since.
Implementations§
Source§impl MenuCloseDone
impl MenuCloseDone
Trait Implementations§
Source§impl Drop for MenuCloseDone
impl Drop for MenuCloseDone
Auto Trait Implementations§
impl !RefUnwindSafe for MenuCloseDone
impl !Send for MenuCloseDone
impl !Sync for MenuCloseDone
impl !UnwindSafe for MenuCloseDone
impl Forget for MenuCloseDone
impl Freeze for MenuCloseDone
impl Move for MenuCloseDone
impl Unpin for MenuCloseDone
impl UnsafeUnpin for MenuCloseDone
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