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

By using "type": "fileicon", Alfred will get the icon for the specified path.

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]

Formats the value using the given formatter.

impl PartialEq for AlfredItemIconType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for AlfredItemIconType
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more