pub struct AboutDialog { /* private fields */ }
Expand description
A struct for a dialog to show about your application.
Dialogs like this are used in the traditional Help > About dialogs found in most programs.
In this case, this AboutDialog
uses, like the rest of the library, the OS’ native toolkit to show
it. This may create inconsistency in some situations, for example in web apps.
§Examples
Basic about dialog:
use nvdialog_rs::AboutDialog;
let dialog = AboutDialog::new()
.name("App Name".into())
.description("A short description for your app".into())
.build();
dialog.show()
Implementations§
Auto Trait Implementations§
impl Freeze for AboutDialog
impl RefUnwindSafe for AboutDialog
impl !Send for AboutDialog
impl !Sync for AboutDialog
impl Unpin for AboutDialog
impl UnwindSafe for AboutDialog
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