Struct puzzle_solver::VarToken
[−]
[src]
pub struct VarToken(_);
A puzzle variable token.
Trait Implementations
impl Neg for VarToken
[src]
type Output = LinExpr
The resulting type after applying the -
operator
fn neg(self) -> Self::Output
The method for the unary -
operator
impl<T: IntoCoef> Add<T> for VarToken
[src]
type Output = LinExpr
The resulting type after applying the +
operator
fn add(self, rhs: T) -> Self::Output
The method for the +
operator
impl Sub<i32> for VarToken
[src]
type Output = LinExpr
The resulting type after applying the -
operator
fn sub(self, rhs: i32) -> Self::Output
The method for the -
operator
impl Sub<Rational32> for VarToken
[src]
type Output = LinExpr
The resulting type after applying the -
operator
fn sub(self, rhs: Rational32) -> Self::Output
The method for the -
operator
impl<T: IntoCoef> Mul<T> for VarToken
[src]
type Output = LinExpr
The resulting type after applying the *
operator
fn mul(self, rhs: T) -> Self::Output
The method for the *
operator
impl Add for VarToken
[src]
type Output = LinExpr
The resulting type after applying the +
operator
fn add(self, rhs: VarToken) -> Self::Output
The method for the +
operator
impl Sub<VarToken> for VarToken
[src]
type Output = LinExpr
The resulting type after applying the -
operator
fn sub(self, rhs: VarToken) -> Self::Output
The method for the -
operator
impl Add<LinExpr> for VarToken
[src]
type Output = LinExpr
The resulting type after applying the +
operator
fn add(self, rhs: LinExpr) -> Self::Output
The method for the +
operator
impl Sub<LinExpr> for VarToken
[src]
type Output = LinExpr
The resulting type after applying the -
operator
fn sub(self, rhs: LinExpr) -> Self::Output
The method for the -
operator
impl Copy for VarToken
[src]
impl Clone for VarToken
[src]
fn clone(&self) -> VarToken
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for VarToken
[src]
impl Eq for VarToken
[src]
impl Hash for VarToken
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more