Struct ai_kit::constraints::Number [] [src]

pub struct Number {
    pub value: f64,
}

Fields

Methods

impl Number
[src]

Trait Implementations

impl Clone for Number
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Number
[src]

impl Debug for Number
[src]

Formats the value using the given formatter.

impl Default for Number
[src]

Returns the "default value" for a type. Read more

impl PartialEq for Number
[src]

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

This method tests for !=.

impl PartialOrd for Number
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Display for Number
[src]

Formats the value using the given formatter. Read more

impl Eq for Number
[src]

impl BindingsValue for Number
[src]

Construct a BindingsValue variable using the specified string as it's name

Extract the name of this BindingsValue variable (if it is a variable)

impl ConstraintValue for Number
[src]

Construct a ConstraintValue from a float

Attempt to convert this value to a float