Enum flo_ui::PropertyValue [] [src]

pub enum PropertyValue {
    Nothing,
    Bool(bool),
    Int(i32),
    Float(f64),
    String(String),
}

Represents the value of a property

Variants

Methods

impl PropertyValue
[src]

[src]

Returns the string value of this property, if it is one

[src]

Returns the string value of this property, if it is one

Trait Implementations

impl Clone for PropertyValue
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for PropertyValue
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for PropertyValue
[src]

[src]

Formats the value using the given formatter. Read more

impl ToString for PropertyValue
[src]

[src]

Converts the given value to a String. Read more

impl<'a> ToProperty for &'a PropertyValue
[src]

Auto Trait Implementations

impl Send for PropertyValue

impl Sync for PropertyValue