Enum yarn_spool::Value[][src]

pub enum Value {
    String(String),
    Number(f32),
    Boolean(bool),
}

A primitive value .

Variants

A string value.

A floating point value.

A boolean value.

Methods

impl Value
[src]

The contained value represented as a string.

Trait Implementations

impl Clone for Value
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. 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 Add for Value
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Sub for Value
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Mul for Value
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Div for Value
[src]

The resulting type after applying the / operator.

Performs the / operation.

Auto Trait Implementations

impl Send for Value

impl Sync for Value