Enum tdesktop_theme::Value[][src]

pub enum Value {
    Color([u8; 4]),
    Link(String),
}

Represents a possible variable's value.

Variants

Holds the color of the variable.

Holds the variable's link to another variable.

Notes

Tt's not guaranteed that the theme really has the variable this field holds a link to.

To get the variable's real value, use TdesktopTheme.resolve_variable.

Trait Implementations

impl Debug for Value
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Value
[src]

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

This method tests for !=.

impl Clone for Value
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Value

impl Sync for Value