pub struct AboutMetadata {
pub name: Option<String>,
pub version: Option<String>,
pub short_version: Option<String>,
pub authors: Option<Vec<String>>,
pub comments: Option<String>,
pub copyright: Option<String>,
pub license: Option<String>,
pub website: Option<String>,
pub website_label: Option<String>,
pub credits: Option<String>,
pub icon: Option<Icon>,
}
Expand description
Application metadata for the PredefinedMenuItem::about
dialog.
Fields§
§name: Option<String>
Sets the application name.
version: Option<String>
The application version.
short_version: Option<String>
The short version, e.g. “1.0”.
§Platform-specific
- Windows / Linux: Appended to the end of
version
in parentheses.
comments: Option<String>
§copyright: Option<String>
The copyright of the application.
license: Option<String>
§website: Option<String>
§website_label: Option<String>
§credits: Option<String>
§icon: Option<Icon>
Trait Implementations§
Source§impl Clone for AboutMetadata
impl Clone for AboutMetadata
Source§fn clone(&self) -> AboutMetadata
fn clone(&self) -> AboutMetadata
Returns a copy 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 AboutMetadata
impl Debug for AboutMetadata
Source§impl Default for AboutMetadata
impl Default for AboutMetadata
Source§fn default() -> AboutMetadata
fn default() -> AboutMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AboutMetadata
impl RefUnwindSafe for AboutMetadata
impl Send for AboutMetadata
impl !Sync for AboutMetadata
impl Unpin for AboutMetadata
impl UnwindSafe for AboutMetadata
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