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]

[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.

[src]

Performs the | operation.

impl Add<f64> for Variable
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<f32> for Variable
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<Variable> for Variable
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<Term> for Variable
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<Expression> for Variable
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Neg for Variable
[src]

The resulting type after applying the - operator.

[src]

Performs the unary - operation.

impl Sub<f64> for Variable
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<f32> for Variable
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<Variable> for Variable
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<Term> for Variable
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Sub<Expression> for Variable
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Mul<f64> for Variable
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<f32> for Variable
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Div<f64> for Variable
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<f32> for Variable
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Copy for Variable
[src]

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 Hash for Variable
[src]

[src]

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

1.3.0
[src]

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

impl PartialEq for Variable
[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 Eq for Variable
[src]

impl PartialOrd for Variable
[src]

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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]

[src]

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

[src]

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

Compares and returns the maximum of two values. Read more

[src]

🔬 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]

[src]

Formats the value using the given formatter.