Enum linefeed::variables::Variable [] [src]

pub enum Variable {
    Boolean(bool),
    Integer(i32),
    String(Cow<'static, str>),
}

Represents a Reader variable of a given type

Variants

Boolean variable

Integer variable

String variable

Trait Implementations

impl Clone for Variable
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Variable
[src]

[src]

Formats the value using the given formatter. Read more

impl From<bool> for Variable
[src]

[src]

Performs the conversion.

impl From<i32> for Variable
[src]

[src]

Performs the conversion.

impl From<&'static str> for Variable
[src]

[src]

Performs the conversion.

impl From<Cow<'static, str>> for Variable
[src]

[src]

Performs the conversion.

impl From<String> for Variable
[src]

[src]

Performs the conversion.

impl Display for Variable
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Variable

impl Sync for Variable