pub struct AsyncMessageDialog(/* private fields */);
Expand description
§Asynchronous Message Dialog
Implementations§
Source§impl AsyncMessageDialog
impl AsyncMessageDialog
pub fn new() -> Self
pub fn set_level(self, level: MessageLevel) -> Self
pub fn set_title(self, text: &str) -> Self
pub fn set_description(self, text: &str) -> Self
Sourcepub fn set_parent<W: HasRawWindowHandle>(self, parent: &W) -> Self
pub fn set_parent<W: HasRawWindowHandle>(self, parent: &W) -> Self
Set parent windows explicitly (optional)
Suported in: macos
pub fn show(self) -> impl Future<Output = bool>
Trait Implementations§
Source§impl Clone for AsyncMessageDialog
impl Clone for AsyncMessageDialog
Source§fn clone(&self) -> AsyncMessageDialog
fn clone(&self) -> AsyncMessageDialog
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AsyncMessageDialog
impl Debug for AsyncMessageDialog
Source§impl Default for AsyncMessageDialog
impl Default for AsyncMessageDialog
Source§fn default() -> AsyncMessageDialog
fn default() -> AsyncMessageDialog
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AsyncMessageDialog
impl RefUnwindSafe for AsyncMessageDialog
impl Send for AsyncMessageDialog
impl !Sync for AsyncMessageDialog
impl Unpin for AsyncMessageDialog
impl UnwindSafe for AsyncMessageDialog
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