Enum alfred::Icon
[−]
[src]
pub enum Icon<'a> { Path(Cow<'a, str>), File(Cow<'a, str>), FileType(Cow<'a, str>), }
Item icons
Variants
Path(Cow<'a, str>)
Path to an image file on disk relative to the workflow directory
File(Cow<'a, str>)
Path to a file whose icon will be used
FileType(Cow<'a, str>)
UTI for a file type to use (e.g. public.folder)
Trait Implementations
impl<'a> Clone for Icon<'a>
[src]
fn clone(&self) -> Icon<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more