Module xpr::ops[][src]

Expand description

contains structs representing the supported operations by xpr. These only need to be used if you intend to implement the Fold trait.

Structs

An Xpr<Add<L,R>> represents addition: l + r

An Xpr<BitAnd<L,R>> represents the bitwise AND: l & r

An Xpr<BitOr<L,R>> represents the bitwise OR: Landr: l | r

An Xpr<BitXor<L,R>> represents the bitwise XOR: l ^ r

An Xpr<Div<L,R>> represents division: l / r

An Xpr<Mul<L,R>> represents multiplication: l * r

An Xpr<Neg<T>> represents negation: - t

An Xpr<Not<T>> represents logical negation: ! t

An Xpr<Rem<L,R>> represents remainder: l % r

An Xpr<Shl<L,R>> represents the left shift operator: l << r

An Xpr<Shr<L,R>> represents the right shift operator: l >> r

An Xpr<Sub<L,R>> represents subtractio: l - r

An Xpr<Term<T>> instance is a leaf in an expression tree, e.g. a single value of type T with no operations applied to it.

Type Definitions

The output of the given operation for two operands L, R where L and R are operation structs from this module, e.g. e.g. OutputOfXXX<Term<u32>, OutputOfMul<Term<bool>, Term<f64>>>.

The output of the given operation for two operands L, R where L and R are operation structs from this module, e.g. e.g. OutputOfXXX<Term<u32>, OutputOfMul<Term<bool>, Term<f64>>>.

The output of the given operation for two operands L, R where L and R are operation structs from this module, e.g. e.g. OutputOfXXX<Term<u32>, OutputOfMul<Term<bool>, Term<f64>>>.

The output of the given operation for two operands L, R where L and R are operation structs from this module, e.g. e.g. OutputOfXXX<Term<u32>, OutputOfMul<Term<bool>, Term<f64>>>.

The output of the given operation for two operands L, R where L and R are operation structs from this module, e.g. e.g. OutputOfXXX<Term<u32>, OutputOfMul<Term<bool>, Term<f64>>>.

The output of the given operation for two operands L, R where L and R are operation structs from this module, e.g. e.g. OutputOfXXX<Term<u32>, OutputOfMul<Term<bool>, Term<f64>>>.

The output of the given operation for two operands L, R where L and R are operation structs from this module, e.g. e.g. OutputOfXXX<Term<u32>, OutputOfMul<Term<bool>, Term<f64>>>.

The output of the given operation for two operands L, R where L and R are operation structs from this module, e.g. e.g. OutputOfXXX<Term<u32>, OutputOfMul<Term<bool>, Term<f64>>>.

The output of the given operation for two operands L, R where L and R are operation structs from this module, e.g. e.g. OutputOfXXX<Term<u32>, OutputOfMul<Term<bool>, Term<f64>>>.

The output of the given operation for two operands L, R where L and R are operation structs from this module, e.g. e.g. OutputOfXXX<Term<u32>, OutputOfMul<Term<bool>, Term<f64>>>.

The output of the given operation for two operands L, R where L and R are operation structs from this module, e.g. e.g. OutputOfXXX<Term<u32>, OutputOfMul<Term<bool>, Term<f64>>>.

The output of the given operation for two operands L, R where L and R are operation structs from this module, e.g. e.g. OutputOfXXX<Term<u32>, OutputOfMul<Term<bool>, Term<f64>>>.