Enum rusty_alfred::AlfredItemIconType
[−]
[src]
pub enum AlfredItemIconType { FileIcon, FileType, }
The type of icon for an item.
The icon displayed in the result row. Workflows are run from their workflow folder, so you can reference icons stored in your workflow relatively.
By omitting the "type", Alfred will load the file path itself, for example a png. By using "type": "fileicon", Alfred will get the icon for the specified path. Finally, by using "type": "filetype", you can get the icon of a specific file, for example "path": "public.png"
Variants
FileIcon
By using "type": "fileicon", Alfred will get the icon for the specified path.
FileType
By using "type": "filetype", you can get the icon of a specific file, for example "path": "public.png"
Trait Implementations
impl Debug for AlfredItemIconType
[src]
impl PartialEq for AlfredItemIconType
[src]
fn eq(&self, __arg_0: &AlfredItemIconType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.