pub struct AboutMetadata<'a> {
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<Image<'a>>,
}Available on
desktop only.Expand description
Application metadata for the PredefinedMenuItem::about.
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
versionin 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<Image<'a>>Trait Implementations§
Source§impl<'a> Clone for AboutMetadata<'a>
impl<'a> Clone for AboutMetadata<'a>
Source§fn clone(&self) -> AboutMetadata<'a>
fn clone(&self) -> AboutMetadata<'a>
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<'a> Debug for AboutMetadata<'a>
impl<'a> Debug for AboutMetadata<'a>
Source§impl<'a> Default for AboutMetadata<'a>
impl<'a> Default for AboutMetadata<'a>
Source§fn default() -> AboutMetadata<'a>
fn default() -> AboutMetadata<'a>
Returns the “default value” for a type. Read more
Source§impl TryFrom<AboutMetadata<'_>> for AboutMetadata
impl TryFrom<AboutMetadata<'_>> for AboutMetadata
Auto Trait Implementations§
impl<'a> Freeze for AboutMetadata<'a>
impl<'a> RefUnwindSafe for AboutMetadata<'a>
impl<'a> Send for AboutMetadata<'a>
impl<'a> Sync for AboutMetadata<'a>
impl<'a> Unpin for AboutMetadata<'a>
impl<'a> UnwindSafe for AboutMetadata<'a>
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