Struct rfd::AsyncMessageDialog [−][src]
pub struct AsyncMessageDialog(_);
Expand description
Implementations
impl AsyncMessageDialog
[src]
impl AsyncMessageDialog
[src]pub fn new() -> Self
[src]
pub fn set_level(self, level: MessageLevel) -> Self
[src]
pub fn set_title(self, text: &str) -> Self
[src]
pub fn set_description(self, text: &str) -> Self
[src]
pub fn set_buttons(self, btn: MessageButtons) -> Self
[src]
pub fn set_parent<W: HasRawWindowHandle>(self, parent: &W) -> Self
[src]
pub fn set_parent<W: HasRawWindowHandle>(self, parent: &W) -> Self
[src]Set parent windows explicitly (optional)
Suported in: macos
pub fn show(self) -> impl Future<Output = bool>
[src]
Trait Implementations
impl Default for AsyncMessageDialog
[src]
impl Default for AsyncMessageDialog
[src]fn default() -> AsyncMessageDialog
[src]
fn default() -> AsyncMessageDialog
[src]Returns the “default value” for a type. Read more