Struct cassowary::Variable [] [src]

pub struct Variable(_);

Identifies a variable for the constraint solver. Each new variable is unique in the view of the solver, but copying or cloning the variable produces a copy of the same variable.

Methods

impl Variable
[src]

Produces a new unique variable for use in constraint solving.

Trait Implementations

impl BitOr<WeightedRelation> for Variable
[src]

The resulting type after applying the | operator

The method for the | operator

impl Add<f64> for Variable
[src]

The resulting type after applying the + operator

The method for the + operator

impl Add<f32> for Variable
[src]

The resulting type after applying the + operator

The method for the + operator

impl Add<Variable> for Variable
[src]

The resulting type after applying the + operator

The method for the + operator

impl Add<Term> for Variable
[src]

The resulting type after applying the + operator

The method for the + operator

impl Add<Expression> for Variable
[src]

The resulting type after applying the + operator

The method for the + operator

impl Neg for Variable
[src]

The resulting type after applying the - operator

The method for the unary - operator

impl Sub<f64> for Variable
[src]

The resulting type after applying the - operator

The method for the - operator

impl Sub<f32> for Variable
[src]

The resulting type after applying the - operator

The method for the - operator

impl Sub<Variable> for Variable
[src]

The resulting type after applying the - operator

The method for the - operator

impl Sub<Term> for Variable
[src]

The resulting type after applying the - operator

The method for the - operator

impl Sub<Expression> for Variable
[src]

The resulting type after applying the - operator

The method for the - operator

impl Mul<f64> for Variable
[src]

The resulting type after applying the * operator

The method for the * operator

impl Mul<f32> for Variable
[src]

The resulting type after applying the * operator

The method for the * operator

impl Div<f64> for Variable
[src]

The resulting type after applying the / operator

The method for the / operator

impl Div<f32> for Variable
[src]

The resulting type after applying the / operator

The method for the / operator

impl Copy for Variable
[src]

impl Clone for Variable
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for Variable
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for Variable
[src]

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

This method tests for !=.

impl Eq for Variable
[src]

impl PartialOrd for Variable
[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 Ord for Variable
[src]

This method returns an Ordering between self and other. Read more

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the maximum of two values. Read more

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the minimum of two values. Read more

impl Debug for Variable
[src]

Formats the value using the given formatter.