Enum brassfibre::prelude::Scalar [] [src]

pub enum Scalar {
    i64(i64),
    i32(i32),
    usize(usize),
    f64(f64),
    bool(bool),
    String(String),
}

///////////////////////////////////////////////////////////////////////////// Scalar /////////////////////////////////////////////////////////////////////////////

Variants

Methods

impl Scalar
[src]

Trait Implementations

impl From<i64> for Scalar
[src]

Performs the conversion.

impl From<i32> for Scalar
[src]

Performs the conversion.

impl From<usize> for Scalar
[src]

Performs the conversion.

impl From<f64> for Scalar
[src]

Performs the conversion.

impl From<bool> for Scalar
[src]

Performs the conversion.

impl From<String> for Scalar
[src]

Performs the conversion.

impl<'a> From<&'a str> for Scalar
[src]

Performs the conversion.

impl Decodable for Scalar
[src]

Deserialize a value using a Decoder.

impl Encodable for Scalar
[src]

Serialize a value using an Encoder.

impl Clone for Scalar
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Scalar
[src]

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

This method tests for !=.

impl Debug for Scalar
[src]

Formats the value using the given formatter.