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.

Performs the | operation.

impl BitOr<Variable> for PartialConstraint
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl Add<f64> for Variable
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Add<f32> for Variable
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Add<Variable> for f64
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Add<Variable> for f32
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Add<Variable> for Variable
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Add<Term> for Variable
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Add<Variable> for Term
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Add<Expression> for Variable
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Add<Variable> for Expression
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl AddAssign<Variable> for Expression
[src]

Performs the += operation.

impl Neg for Variable
[src]

The resulting type after applying the - operator.

Performs the unary - operation.

impl Sub<f64> for Variable
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Sub<f32> for Variable
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Sub<Variable> for f64
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Sub<Variable> for f32
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Sub<Variable> for Variable
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Sub<Term> for Variable
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Sub<Variable> for Term
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Sub<Expression> for Variable
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Sub<Variable> for Expression
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl SubAssign<Variable> for Expression
[src]

Performs the -= operation.

impl Mul<f64> for Variable
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<f32> for Variable
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<Variable> for f64
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<Variable> for f32
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Div<f64> for Variable
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl Div<f32> for Variable
[src]

The resulting type after applying the / operator.

Performs the / operation.

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

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Debug for Variable
[src]

Formats the value using the given formatter. Read more

impl From<Variable> for Expression
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Variable

impl Sync for Variable