Struct alfred::ModifierData [] [src]

pub struct ModifierData<'a> {
    pub subtitle: Option<Cow<'a, str>>,
    pub arg: Option<Cow<'a, str>>,
    pub valid: Option<bool>,
}

Optional overrides of subtitle, arg, and valid for modifiers.

Fields

subtitle: Option<Cow<'a, str>>

The subtitle to use for the current modifier

arg: Option<Cow<'a, str>>

The arg to use for the current modifier

valid: Option<bool>

The validity to use for the current modifier

Trait Implementations

impl<'a> Default for ModifierData<'a>
[src]

fn default() -> ModifierData<'a>

Returns the "default value" for a type. Read more

impl<'a> Eq for ModifierData<'a>
[src]

impl<'a> PartialEq for ModifierData<'a>
[src]

fn eq(&self, __arg_0: &ModifierData<'a>) -> bool

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

fn ne(&self, __arg_0: &ModifierData<'a>) -> bool

This method tests for !=.

impl<'a> Debug for ModifierData<'a>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<'a> Clone for ModifierData<'a>
[src]

fn clone(&self) -> ModifierData<'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