Enum tauri_runtime::Icon [−][src]
Expand description
A icon definition.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Icon from file path.
Tuple Fields of File
0: PathBuf
Icon from raw bytes.
Implementations
Converts the icon to a the expected system tray format. We expect the code that passes the Icon enum to have already checked the platform.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Icon
impl UnwindSafe for Icon
Blanket Implementations
Mutably borrows from an owned value. Read more