Enum nccl::Value [] [src]

pub enum Value {
    String(String),
    Bool(bool),
    Integer(i64),
    Float(f64),
}

Wrapper type for possible types in nccl configuration.

Variants

Trait Implementations

impl Debug for Value
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Value
[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 Clone for Value
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl TryInto<String> for Value
[src]

[src]

impl TryInto<bool> for Value
[src]

[src]

impl TryInto<i64> for Value
[src]

[src]

impl TryInto<f64> for Value
[src]

[src]

impl<'a> From<&'a Value> for Value
[src]

[src]

Performs the conversion.

impl From<String> for Value
[src]

[src]

Performs the conversion.

impl<'a> From<&'a String> for Value
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<bool> for Value
[src]

[src]

Performs the conversion.

impl From<i64> for Value
[src]

[src]

Performs the conversion.

impl From<f64> for Value
[src]

[src]

Performs the conversion.

impl Into<String> for Value
[src]

[src]

Performs the conversion.

impl Into<bool> for Value
[src]

[src]

Performs the conversion.

impl Into<i64> for Value
[src]

[src]

Performs the conversion.

impl Into<f64> for Value
[src]

[src]

Performs the conversion.

impl Display for Value
[src]

[src]

Formats the value using the given formatter. Read more