pub struct IntegerVariable(/* private fields */);Expand description
A struct wrapping an id.
Implementations§
Source§impl IntegerVariable
impl IntegerVariable
Sourcepub fn abs(self) -> IntegerExpression
pub fn abs(self) -> IntegerExpression
Returns an expression representing the absolute value
Trait Implementations§
Source§impl AccessTarget<IntegerVariable, i32> for Model
impl AccessTarget<IntegerVariable, i32> for Model
Source§fn get_target(&self, v: IntegerVariable) -> Result<Integer, ModelErr>
fn get_target(&self, v: IntegerVariable) -> Result<Integer, ModelErr>
Source§fn set_target(
&mut self,
v: IntegerVariable,
target: Integer,
) -> Result<(), ModelErr>
fn set_target( &mut self, v: IntegerVariable, target: Integer, ) -> Result<(), ModelErr>
Source§impl Add<ContinuousExpression> for IntegerVariable
impl Add<ContinuousExpression> for IntegerVariable
Source§fn add(self, rhs: ContinuousExpression) -> ContinuousExpression
fn add(self, rhs: ContinuousExpression) -> ContinuousExpression
Returns an expression representing the addition.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.Source§impl Add<ContinuousResourceVariable> for IntegerVariable
impl Add<ContinuousResourceVariable> for IntegerVariable
Source§fn add(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn add(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
Returns an expression representing the addition.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.Source§impl Add<ContinuousVariable> for IntegerVariable
impl Add<ContinuousVariable> for IntegerVariable
Source§fn add(self, rhs: ContinuousVariable) -> ContinuousExpression
fn add(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the addition.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.Source§impl Add<IntegerExpression> for IntegerVariable
impl Add<IntegerExpression> for IntegerVariable
Source§fn add(self, rhs: IntegerExpression) -> IntegerExpression
fn add(self, rhs: IntegerExpression) -> IntegerExpression
Returns an expression representing the addition.
Source§type Output = IntegerExpression
type Output = IntegerExpression
+ operator.Source§impl Add<IntegerResourceVariable> for IntegerVariable
impl Add<IntegerResourceVariable> for IntegerVariable
Source§fn add(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn add(self, rhs: IntegerResourceVariable) -> IntegerExpression
Returns an expression representing the addition.
Source§type Output = IntegerExpression
type Output = IntegerExpression
+ operator.Source§impl Add<IntegerVariable> for ContinuousExpression
impl Add<IntegerVariable> for ContinuousExpression
Source§fn add(self, rhs: IntegerVariable) -> ContinuousExpression
fn add(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the addition.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.Source§impl Add<IntegerVariable> for ContinuousResourceVariable
impl Add<IntegerVariable> for ContinuousResourceVariable
Source§fn add(self, rhs: IntegerVariable) -> ContinuousExpression
fn add(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the addition.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.Source§impl Add<IntegerVariable> for ContinuousVariable
impl Add<IntegerVariable> for ContinuousVariable
Source§fn add(self, rhs: IntegerVariable) -> ContinuousExpression
fn add(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the addition.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.Source§impl Add<IntegerVariable> for IntegerExpression
impl Add<IntegerVariable> for IntegerExpression
Source§fn add(self, rhs: IntegerVariable) -> IntegerExpression
fn add(self, rhs: IntegerVariable) -> IntegerExpression
Returns an expression representing the addition.
Source§type Output = IntegerExpression
type Output = IntegerExpression
+ operator.Source§impl Add<IntegerVariable> for IntegerResourceVariable
impl Add<IntegerVariable> for IntegerResourceVariable
Source§fn add(self, rhs: IntegerVariable) -> IntegerExpression
fn add(self, rhs: IntegerVariable) -> IntegerExpression
Returns an expression representing the addition.
Source§type Output = IntegerExpression
type Output = IntegerExpression
+ operator.Source§impl Add<IntegerVariable> for Continuous
impl Add<IntegerVariable> for Continuous
Source§fn add(self, rhs: IntegerVariable) -> ContinuousExpression
fn add(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the addition.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.Source§impl Add<IntegerVariable> for Integer
impl Add<IntegerVariable> for Integer
Source§fn add(self, rhs: IntegerVariable) -> IntegerExpression
fn add(self, rhs: IntegerVariable) -> IntegerExpression
Returns an expression representing the addition.
Source§type Output = IntegerExpression
type Output = IntegerExpression
+ operator.Source§impl Add<f64> for IntegerVariable
impl Add<f64> for IntegerVariable
Source§fn add(self, rhs: Continuous) -> ContinuousExpression
fn add(self, rhs: Continuous) -> ContinuousExpression
Returns an expression representing the addition.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.Source§impl Add<i32> for IntegerVariable
impl Add<i32> for IntegerVariable
Source§fn add(self, rhs: Integer) -> IntegerExpression
fn add(self, rhs: Integer) -> IntegerExpression
Returns an expression representing the addition.
Source§type Output = IntegerExpression
type Output = IntegerExpression
+ operator.Source§impl Add for IntegerVariable
impl Add for IntegerVariable
Source§fn add(self, rhs: IntegerVariable) -> IntegerExpression
fn add(self, rhs: IntegerVariable) -> IntegerExpression
Returns an expression representing the addition.
Source§type Output = IntegerExpression
type Output = IntegerExpression
+ operator.Source§impl AddEffect<IntegerVariable, IntegerExpression> for Transition
impl AddEffect<IntegerVariable, IntegerExpression> for Transition
Source§fn add_effect<V>(
&mut self,
v: IntegerVariable,
expression: V,
) -> Result<(), ModelErr>where
IntegerExpression: From<V>,
fn add_effect<V>(
&mut self,
v: IntegerVariable,
expression: V,
) -> Result<(), ModelErr>where
IntegerExpression: From<V>,
Source§impl CheckVariable<IntegerVariable> for StateMetadata
impl CheckVariable<IntegerVariable> for StateMetadata
Source§fn check_variable(&self, v: IntegerVariable) -> Result<(), ModelErr>
fn check_variable(&self, v: IntegerVariable) -> Result<(), ModelErr>
Source§impl Clone for IntegerVariable
impl Clone for IntegerVariable
Source§fn clone(&self) -> IntegerVariable
fn clone(&self) -> IntegerVariable
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl ContinuousBinaryOperation<ContinuousExpression> for IntegerVariable
impl ContinuousBinaryOperation<ContinuousExpression> for IntegerVariable
type Output = ContinuousExpression
Source§fn pow(self, rhs: ContinuousExpression) -> ContinuousExpression
fn pow(self, rhs: ContinuousExpression) -> ContinuousExpression
Source§fn log(self, rhs: ContinuousExpression) -> ContinuousExpression
fn log(self, rhs: ContinuousExpression) -> ContinuousExpression
Source§impl ContinuousBinaryOperation<ContinuousResourceVariable> for IntegerVariable
impl ContinuousBinaryOperation<ContinuousResourceVariable> for IntegerVariable
type Output = ContinuousExpression
Source§fn pow(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn pow(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
Source§fn log(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn log(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
Source§impl ContinuousBinaryOperation<ContinuousVariable> for IntegerVariable
impl ContinuousBinaryOperation<ContinuousVariable> for IntegerVariable
type Output = ContinuousExpression
Source§fn pow(self, rhs: ContinuousVariable) -> ContinuousExpression
fn pow(self, rhs: ContinuousVariable) -> ContinuousExpression
Source§fn log(self, rhs: ContinuousVariable) -> ContinuousExpression
fn log(self, rhs: ContinuousVariable) -> ContinuousExpression
Source§impl ContinuousBinaryOperation<IntegerVariable> for ContinuousExpression
impl ContinuousBinaryOperation<IntegerVariable> for ContinuousExpression
type Output = ContinuousExpression
Source§fn pow(self, rhs: IntegerVariable) -> ContinuousExpression
fn pow(self, rhs: IntegerVariable) -> ContinuousExpression
Source§fn log(self, rhs: IntegerVariable) -> ContinuousExpression
fn log(self, rhs: IntegerVariable) -> ContinuousExpression
Source§impl ContinuousBinaryOperation<IntegerVariable> for ContinuousResourceVariable
impl ContinuousBinaryOperation<IntegerVariable> for ContinuousResourceVariable
type Output = ContinuousExpression
Source§fn pow(self, rhs: IntegerVariable) -> ContinuousExpression
fn pow(self, rhs: IntegerVariable) -> ContinuousExpression
Source§fn log(self, rhs: IntegerVariable) -> ContinuousExpression
fn log(self, rhs: IntegerVariable) -> ContinuousExpression
Source§impl ContinuousBinaryOperation<IntegerVariable> for ContinuousVariable
impl ContinuousBinaryOperation<IntegerVariable> for ContinuousVariable
type Output = ContinuousExpression
Source§fn pow(self, rhs: IntegerVariable) -> ContinuousExpression
fn pow(self, rhs: IntegerVariable) -> ContinuousExpression
Source§fn log(self, rhs: IntegerVariable) -> ContinuousExpression
fn log(self, rhs: IntegerVariable) -> ContinuousExpression
Source§impl ContinuousBinaryOperation<IntegerVariable> for Continuous
impl ContinuousBinaryOperation<IntegerVariable> for Continuous
type Output = ContinuousExpression
Source§fn pow(self, rhs: IntegerVariable) -> ContinuousExpression
fn pow(self, rhs: IntegerVariable) -> ContinuousExpression
Source§fn log(self, rhs: IntegerVariable) -> ContinuousExpression
fn log(self, rhs: IntegerVariable) -> ContinuousExpression
Source§impl ContinuousBinaryOperation<f64> for IntegerVariable
impl ContinuousBinaryOperation<f64> for IntegerVariable
type Output = ContinuousExpression
Source§fn pow(self, rhs: Continuous) -> ContinuousExpression
fn pow(self, rhs: Continuous) -> ContinuousExpression
Source§fn log(self, rhs: Continuous) -> ContinuousExpression
fn log(self, rhs: Continuous) -> ContinuousExpression
Source§impl Debug for IntegerVariable
impl Debug for IntegerVariable
Source§impl Div<ContinuousExpression> for IntegerVariable
impl Div<ContinuousExpression> for IntegerVariable
Source§fn div(self, rhs: ContinuousExpression) -> ContinuousExpression
fn div(self, rhs: ContinuousExpression) -> ContinuousExpression
Returns an expression representing the division.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.Source§impl Div<ContinuousResourceVariable> for IntegerVariable
impl Div<ContinuousResourceVariable> for IntegerVariable
Source§fn div(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn div(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
Returns an expression representing the division.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.Source§impl Div<ContinuousVariable> for IntegerVariable
impl Div<ContinuousVariable> for IntegerVariable
Source§fn div(self, rhs: ContinuousVariable) -> ContinuousExpression
fn div(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the division.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.Source§impl Div<IntegerExpression> for IntegerVariable
impl Div<IntegerExpression> for IntegerVariable
Source§fn div(self, rhs: IntegerExpression) -> IntegerExpression
fn div(self, rhs: IntegerExpression) -> IntegerExpression
Returns an expression representing the division.
Source§type Output = IntegerExpression
type Output = IntegerExpression
/ operator.Source§impl Div<IntegerResourceVariable> for IntegerVariable
impl Div<IntegerResourceVariable> for IntegerVariable
Source§fn div(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn div(self, rhs: IntegerResourceVariable) -> IntegerExpression
Returns an expression representing the division.
Source§type Output = IntegerExpression
type Output = IntegerExpression
/ operator.Source§impl Div<IntegerVariable> for ContinuousExpression
impl Div<IntegerVariable> for ContinuousExpression
Source§fn div(self, rhs: IntegerVariable) -> ContinuousExpression
fn div(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the division.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.Source§impl Div<IntegerVariable> for ContinuousResourceVariable
impl Div<IntegerVariable> for ContinuousResourceVariable
Source§fn div(self, rhs: IntegerVariable) -> ContinuousExpression
fn div(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the division.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.Source§impl Div<IntegerVariable> for ContinuousVariable
impl Div<IntegerVariable> for ContinuousVariable
Source§fn div(self, rhs: IntegerVariable) -> ContinuousExpression
fn div(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the division.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.Source§impl Div<IntegerVariable> for IntegerExpression
impl Div<IntegerVariable> for IntegerExpression
Source§fn div(self, rhs: IntegerVariable) -> IntegerExpression
fn div(self, rhs: IntegerVariable) -> IntegerExpression
Returns an expression representing the division.
Source§type Output = IntegerExpression
type Output = IntegerExpression
/ operator.Source§impl Div<IntegerVariable> for IntegerResourceVariable
impl Div<IntegerVariable> for IntegerResourceVariable
Source§fn div(self, rhs: IntegerVariable) -> IntegerExpression
fn div(self, rhs: IntegerVariable) -> IntegerExpression
Returns an expression representing the division.
Source§type Output = IntegerExpression
type Output = IntegerExpression
/ operator.Source§impl Div<IntegerVariable> for Continuous
impl Div<IntegerVariable> for Continuous
Source§fn div(self, rhs: IntegerVariable) -> ContinuousExpression
fn div(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the division.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.Source§impl Div<IntegerVariable> for Integer
impl Div<IntegerVariable> for Integer
Source§fn div(self, rhs: IntegerVariable) -> IntegerExpression
fn div(self, rhs: IntegerVariable) -> IntegerExpression
Returns an expression representing the division.
Source§type Output = IntegerExpression
type Output = IntegerExpression
/ operator.Source§impl Div<f64> for IntegerVariable
impl Div<f64> for IntegerVariable
Source§fn div(self, rhs: Continuous) -> ContinuousExpression
fn div(self, rhs: Continuous) -> ContinuousExpression
Returns an expression representing the division.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.Source§impl Div<i32> for IntegerVariable
impl Div<i32> for IntegerVariable
Source§fn div(self, rhs: Integer) -> IntegerExpression
fn div(self, rhs: Integer) -> IntegerExpression
Returns an expression representing the division.
Source§type Output = IntegerExpression
type Output = IntegerExpression
/ operator.Source§impl Div for IntegerVariable
impl Div for IntegerVariable
Source§fn div(self, rhs: IntegerVariable) -> IntegerExpression
fn div(self, rhs: IntegerVariable) -> IntegerExpression
Returns an expression representing the division.
Source§type Output = IntegerExpression
type Output = IntegerExpression
/ operator.Source§impl From<IntegerVariable> for ContinuousExpression
impl From<IntegerVariable> for ContinuousExpression
Source§fn from(v: IntegerVariable) -> Self
fn from(v: IntegerVariable) -> Self
Source§impl From<IntegerVariable> for IntegerExpression
impl From<IntegerVariable> for IntegerExpression
Source§fn from(v: IntegerVariable) -> Self
fn from(v: IntegerVariable) -> Self
Returns an expression representing the variable.
Source§impl MaxMin<ContinuousExpression> for IntegerVariable
impl MaxMin<ContinuousExpression> for IntegerVariable
type Output = ContinuousExpression
Source§fn max(self, rhs: ContinuousExpression) -> ContinuousExpression
fn max(self, rhs: ContinuousExpression) -> ContinuousExpression
Source§fn min(self, rhs: ContinuousExpression) -> ContinuousExpression
fn min(self, rhs: ContinuousExpression) -> ContinuousExpression
Source§impl MaxMin<ContinuousResourceVariable> for IntegerVariable
impl MaxMin<ContinuousResourceVariable> for IntegerVariable
type Output = ContinuousExpression
Source§fn max(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn max(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
Source§fn min(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn min(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
Source§impl MaxMin<ContinuousVariable> for IntegerVariable
impl MaxMin<ContinuousVariable> for IntegerVariable
type Output = ContinuousExpression
Source§fn max(self, rhs: ContinuousVariable) -> ContinuousExpression
fn max(self, rhs: ContinuousVariable) -> ContinuousExpression
Source§fn min(self, rhs: ContinuousVariable) -> ContinuousExpression
fn min(self, rhs: ContinuousVariable) -> ContinuousExpression
Source§impl MaxMin<IntegerExpression> for IntegerVariable
impl MaxMin<IntegerExpression> for IntegerVariable
type Output = IntegerExpression
Source§fn max(self, rhs: IntegerExpression) -> IntegerExpression
fn max(self, rhs: IntegerExpression) -> IntegerExpression
Source§fn min(self, rhs: IntegerExpression) -> IntegerExpression
fn min(self, rhs: IntegerExpression) -> IntegerExpression
Source§impl MaxMin<IntegerResourceVariable> for IntegerVariable
impl MaxMin<IntegerResourceVariable> for IntegerVariable
type Output = IntegerExpression
Source§fn max(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn max(self, rhs: IntegerResourceVariable) -> IntegerExpression
Source§fn min(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn min(self, rhs: IntegerResourceVariable) -> IntegerExpression
Source§impl MaxMin<IntegerVariable> for ContinuousExpression
impl MaxMin<IntegerVariable> for ContinuousExpression
type Output = ContinuousExpression
Source§fn max(self, rhs: IntegerVariable) -> ContinuousExpression
fn max(self, rhs: IntegerVariable) -> ContinuousExpression
Source§fn min(self, rhs: IntegerVariable) -> ContinuousExpression
fn min(self, rhs: IntegerVariable) -> ContinuousExpression
Source§impl MaxMin<IntegerVariable> for ContinuousResourceVariable
impl MaxMin<IntegerVariable> for ContinuousResourceVariable
type Output = ContinuousExpression
Source§fn max(self, rhs: IntegerVariable) -> ContinuousExpression
fn max(self, rhs: IntegerVariable) -> ContinuousExpression
Source§fn min(self, rhs: IntegerVariable) -> ContinuousExpression
fn min(self, rhs: IntegerVariable) -> ContinuousExpression
Source§impl MaxMin<IntegerVariable> for ContinuousVariable
impl MaxMin<IntegerVariable> for ContinuousVariable
type Output = ContinuousExpression
Source§fn max(self, rhs: IntegerVariable) -> ContinuousExpression
fn max(self, rhs: IntegerVariable) -> ContinuousExpression
Source§fn min(self, rhs: IntegerVariable) -> ContinuousExpression
fn min(self, rhs: IntegerVariable) -> ContinuousExpression
Source§impl MaxMin<IntegerVariable> for IntegerExpression
impl MaxMin<IntegerVariable> for IntegerExpression
type Output = IntegerExpression
Source§fn max(self, rhs: IntegerVariable) -> IntegerExpression
fn max(self, rhs: IntegerVariable) -> IntegerExpression
Source§fn min(self, rhs: IntegerVariable) -> IntegerExpression
fn min(self, rhs: IntegerVariable) -> IntegerExpression
Source§impl MaxMin<IntegerVariable> for IntegerResourceVariable
impl MaxMin<IntegerVariable> for IntegerResourceVariable
type Output = IntegerExpression
Source§fn max(self, rhs: IntegerVariable) -> IntegerExpression
fn max(self, rhs: IntegerVariable) -> IntegerExpression
Source§fn min(self, rhs: IntegerVariable) -> IntegerExpression
fn min(self, rhs: IntegerVariable) -> IntegerExpression
Source§impl MaxMin<IntegerVariable> for Continuous
impl MaxMin<IntegerVariable> for Continuous
type Output = ContinuousExpression
Source§fn max(self, rhs: IntegerVariable) -> ContinuousExpression
fn max(self, rhs: IntegerVariable) -> ContinuousExpression
Source§fn min(self, rhs: IntegerVariable) -> ContinuousExpression
fn min(self, rhs: IntegerVariable) -> ContinuousExpression
Source§impl MaxMin<IntegerVariable> for Integer
impl MaxMin<IntegerVariable> for Integer
type Output = IntegerExpression
Source§fn max(self, rhs: IntegerVariable) -> IntegerExpression
fn max(self, rhs: IntegerVariable) -> IntegerExpression
Source§fn min(self, rhs: IntegerVariable) -> IntegerExpression
fn min(self, rhs: IntegerVariable) -> IntegerExpression
Source§impl MaxMin<f64> for IntegerVariable
impl MaxMin<f64> for IntegerVariable
type Output = ContinuousExpression
Source§fn max(self, rhs: Continuous) -> ContinuousExpression
fn max(self, rhs: Continuous) -> ContinuousExpression
Source§fn min(self, rhs: Continuous) -> ContinuousExpression
fn min(self, rhs: Continuous) -> ContinuousExpression
Source§impl MaxMin<i32> for IntegerVariable
impl MaxMin<i32> for IntegerVariable
type Output = IntegerExpression
Source§fn max(self, rhs: Integer) -> IntegerExpression
fn max(self, rhs: Integer) -> IntegerExpression
Source§fn min(self, rhs: Integer) -> IntegerExpression
fn min(self, rhs: Integer) -> IntegerExpression
Source§impl MaxMin for IntegerVariable
impl MaxMin for IntegerVariable
type Output = IntegerExpression
Source§fn max(self, rhs: IntegerVariable) -> IntegerExpression
fn max(self, rhs: IntegerVariable) -> IntegerExpression
Source§fn min(self, rhs: IntegerVariable) -> IntegerExpression
fn min(self, rhs: IntegerVariable) -> IntegerExpression
Source§impl Mul<ContinuousExpression> for IntegerVariable
impl Mul<ContinuousExpression> for IntegerVariable
Source§fn mul(self, rhs: ContinuousExpression) -> ContinuousExpression
fn mul(self, rhs: ContinuousExpression) -> ContinuousExpression
Returns an expression representing the multiplication.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.Source§impl Mul<ContinuousResourceVariable> for IntegerVariable
impl Mul<ContinuousResourceVariable> for IntegerVariable
Source§fn mul(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn mul(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.Source§impl Mul<ContinuousVariable> for IntegerVariable
impl Mul<ContinuousVariable> for IntegerVariable
Source§fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression
fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.Source§impl Mul<IntegerExpression> for IntegerVariable
impl Mul<IntegerExpression> for IntegerVariable
Source§fn mul(self, rhs: IntegerExpression) -> IntegerExpression
fn mul(self, rhs: IntegerExpression) -> IntegerExpression
Returns an expression representing the multiplication.
Source§type Output = IntegerExpression
type Output = IntegerExpression
* operator.Source§impl Mul<IntegerResourceVariable> for IntegerVariable
impl Mul<IntegerResourceVariable> for IntegerVariable
Source§fn mul(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn mul(self, rhs: IntegerResourceVariable) -> IntegerExpression
Returns an expression representing the multiplication.
Source§type Output = IntegerExpression
type Output = IntegerExpression
* operator.Source§impl Mul<IntegerVariable> for ContinuousExpression
impl Mul<IntegerVariable> for ContinuousExpression
Source§fn mul(self, rhs: IntegerVariable) -> ContinuousExpression
fn mul(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.Source§impl Mul<IntegerVariable> for ContinuousResourceVariable
impl Mul<IntegerVariable> for ContinuousResourceVariable
Source§fn mul(self, rhs: IntegerVariable) -> ContinuousExpression
fn mul(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.Source§impl Mul<IntegerVariable> for ContinuousVariable
impl Mul<IntegerVariable> for ContinuousVariable
Source§fn mul(self, rhs: IntegerVariable) -> ContinuousExpression
fn mul(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.Source§impl Mul<IntegerVariable> for IntegerExpression
impl Mul<IntegerVariable> for IntegerExpression
Source§fn mul(self, rhs: IntegerVariable) -> IntegerExpression
fn mul(self, rhs: IntegerVariable) -> IntegerExpression
Returns an expression representing the multiplication.
Source§type Output = IntegerExpression
type Output = IntegerExpression
* operator.Source§impl Mul<IntegerVariable> for IntegerResourceVariable
impl Mul<IntegerVariable> for IntegerResourceVariable
Source§fn mul(self, rhs: IntegerVariable) -> IntegerExpression
fn mul(self, rhs: IntegerVariable) -> IntegerExpression
Returns an expression representing the multiplication.
Source§type Output = IntegerExpression
type Output = IntegerExpression
* operator.Source§impl Mul<IntegerVariable> for Continuous
impl Mul<IntegerVariable> for Continuous
Source§fn mul(self, rhs: IntegerVariable) -> ContinuousExpression
fn mul(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.Source§impl Mul<IntegerVariable> for Integer
impl Mul<IntegerVariable> for Integer
Source§fn mul(self, rhs: IntegerVariable) -> IntegerExpression
fn mul(self, rhs: IntegerVariable) -> IntegerExpression
Returns an expression representing the multiplication.
Source§type Output = IntegerExpression
type Output = IntegerExpression
* operator.Source§impl Mul<f64> for IntegerVariable
impl Mul<f64> for IntegerVariable
Source§fn mul(self, rhs: Continuous) -> ContinuousExpression
fn mul(self, rhs: Continuous) -> ContinuousExpression
Returns an expression representing the multiplication.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.Source§impl Mul<i32> for IntegerVariable
impl Mul<i32> for IntegerVariable
Source§fn mul(self, rhs: Integer) -> IntegerExpression
fn mul(self, rhs: Integer) -> IntegerExpression
Returns an expression representing the multiplication.
Source§type Output = IntegerExpression
type Output = IntegerExpression
* operator.Source§impl Mul for IntegerVariable
impl Mul for IntegerVariable
Source§fn mul(self, rhs: IntegerVariable) -> IntegerExpression
fn mul(self, rhs: IntegerVariable) -> IntegerExpression
Returns an expression representing the multiplication.
Source§type Output = IntegerExpression
type Output = IntegerExpression
* operator.Source§impl Neg for IntegerVariable
impl Neg for IntegerVariable
Source§impl PartialEq for IntegerVariable
impl PartialEq for IntegerVariable
Source§impl Rem<ContinuousExpression> for IntegerVariable
impl Rem<ContinuousExpression> for IntegerVariable
Source§fn rem(self, rhs: ContinuousExpression) -> ContinuousExpression
fn rem(self, rhs: ContinuousExpression) -> ContinuousExpression
Returns an expression representing the remainder.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.Source§impl Rem<ContinuousResourceVariable> for IntegerVariable
impl Rem<ContinuousResourceVariable> for IntegerVariable
Source§fn rem(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn rem(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
Returns an expression representing the remainder.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.Source§impl Rem<ContinuousVariable> for IntegerVariable
impl Rem<ContinuousVariable> for IntegerVariable
Source§fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression
fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the remainder.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.Source§impl Rem<IntegerExpression> for IntegerVariable
impl Rem<IntegerExpression> for IntegerVariable
Source§fn rem(self, rhs: IntegerExpression) -> IntegerExpression
fn rem(self, rhs: IntegerExpression) -> IntegerExpression
Returns an expression representing the remainder.
Source§type Output = IntegerExpression
type Output = IntegerExpression
% operator.Source§impl Rem<IntegerResourceVariable> for IntegerVariable
impl Rem<IntegerResourceVariable> for IntegerVariable
Source§fn rem(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn rem(self, rhs: IntegerResourceVariable) -> IntegerExpression
Returns an expression representing the remainder.
Source§type Output = IntegerExpression
type Output = IntegerExpression
% operator.Source§impl Rem<IntegerVariable> for ContinuousExpression
impl Rem<IntegerVariable> for ContinuousExpression
Source§fn rem(self, rhs: IntegerVariable) -> ContinuousExpression
fn rem(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the remainder.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.Source§impl Rem<IntegerVariable> for ContinuousResourceVariable
impl Rem<IntegerVariable> for ContinuousResourceVariable
Source§fn rem(self, rhs: IntegerVariable) -> ContinuousExpression
fn rem(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the remainder.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.Source§impl Rem<IntegerVariable> for ContinuousVariable
impl Rem<IntegerVariable> for ContinuousVariable
Source§fn rem(self, rhs: IntegerVariable) -> ContinuousExpression
fn rem(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the remainder.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.Source§impl Rem<IntegerVariable> for IntegerExpression
impl Rem<IntegerVariable> for IntegerExpression
Source§fn rem(self, rhs: IntegerVariable) -> IntegerExpression
fn rem(self, rhs: IntegerVariable) -> IntegerExpression
Returns an expression representing the remainder.
Source§type Output = IntegerExpression
type Output = IntegerExpression
% operator.Source§impl Rem<IntegerVariable> for IntegerResourceVariable
impl Rem<IntegerVariable> for IntegerResourceVariable
Source§fn rem(self, rhs: IntegerVariable) -> IntegerExpression
fn rem(self, rhs: IntegerVariable) -> IntegerExpression
Returns an expression representing the remainder.
Source§type Output = IntegerExpression
type Output = IntegerExpression
% operator.Source§impl Rem<IntegerVariable> for Continuous
impl Rem<IntegerVariable> for Continuous
Source§fn rem(self, rhs: IntegerVariable) -> ContinuousExpression
fn rem(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the remainder.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.Source§impl Rem<IntegerVariable> for Integer
impl Rem<IntegerVariable> for Integer
Source§fn rem(self, rhs: IntegerVariable) -> IntegerExpression
fn rem(self, rhs: IntegerVariable) -> IntegerExpression
Returns an expression representing the remainder.
Source§type Output = IntegerExpression
type Output = IntegerExpression
% operator.Source§impl Rem<f64> for IntegerVariable
impl Rem<f64> for IntegerVariable
Source§fn rem(self, rhs: Continuous) -> ContinuousExpression
fn rem(self, rhs: Continuous) -> ContinuousExpression
Returns an expression representing the remainder.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.Source§impl Rem<i32> for IntegerVariable
impl Rem<i32> for IntegerVariable
Source§fn rem(self, rhs: Integer) -> IntegerExpression
fn rem(self, rhs: Integer) -> IntegerExpression
Returns an expression representing the remainder.
Source§type Output = IntegerExpression
type Output = IntegerExpression
% operator.Source§impl Rem for IntegerVariable
impl Rem for IntegerVariable
Source§fn rem(self, rhs: IntegerVariable) -> IntegerExpression
fn rem(self, rhs: IntegerVariable) -> IntegerExpression
Returns an expression representing the remainder.
Source§type Output = IntegerExpression
type Output = IntegerExpression
% operator.Source§impl Sub<ContinuousExpression> for IntegerVariable
impl Sub<ContinuousExpression> for IntegerVariable
Source§fn sub(self, rhs: ContinuousExpression) -> ContinuousExpression
fn sub(self, rhs: ContinuousExpression) -> ContinuousExpression
Returns an expression representing the subtraction.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.Source§impl Sub<ContinuousResourceVariable> for IntegerVariable
impl Sub<ContinuousResourceVariable> for IntegerVariable
Source§fn sub(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn sub(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.Source§impl Sub<ContinuousVariable> for IntegerVariable
impl Sub<ContinuousVariable> for IntegerVariable
Source§fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression
fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.Source§impl Sub<IntegerExpression> for IntegerVariable
impl Sub<IntegerExpression> for IntegerVariable
Source§fn sub(self, rhs: IntegerExpression) -> IntegerExpression
fn sub(self, rhs: IntegerExpression) -> IntegerExpression
Returns an expression representing the subtraction.
Source§type Output = IntegerExpression
type Output = IntegerExpression
- operator.Source§impl Sub<IntegerResourceVariable> for IntegerVariable
impl Sub<IntegerResourceVariable> for IntegerVariable
Source§fn sub(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn sub(self, rhs: IntegerResourceVariable) -> IntegerExpression
Returns an expression representing the subtraction.
Source§type Output = IntegerExpression
type Output = IntegerExpression
- operator.Source§impl Sub<IntegerVariable> for ContinuousExpression
impl Sub<IntegerVariable> for ContinuousExpression
Source§fn sub(self, rhs: IntegerVariable) -> ContinuousExpression
fn sub(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.Source§impl Sub<IntegerVariable> for ContinuousResourceVariable
impl Sub<IntegerVariable> for ContinuousResourceVariable
Source§fn sub(self, rhs: IntegerVariable) -> ContinuousExpression
fn sub(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.Source§impl Sub<IntegerVariable> for ContinuousVariable
impl Sub<IntegerVariable> for ContinuousVariable
Source§fn sub(self, rhs: IntegerVariable) -> ContinuousExpression
fn sub(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.Source§impl Sub<IntegerVariable> for IntegerExpression
impl Sub<IntegerVariable> for IntegerExpression
Source§fn sub(self, rhs: IntegerVariable) -> IntegerExpression
fn sub(self, rhs: IntegerVariable) -> IntegerExpression
Returns an expression representing the subtraction.
Source§type Output = IntegerExpression
type Output = IntegerExpression
- operator.Source§impl Sub<IntegerVariable> for IntegerResourceVariable
impl Sub<IntegerVariable> for IntegerResourceVariable
Source§fn sub(self, rhs: IntegerVariable) -> IntegerExpression
fn sub(self, rhs: IntegerVariable) -> IntegerExpression
Returns an expression representing the subtraction.
Source§type Output = IntegerExpression
type Output = IntegerExpression
- operator.Source§impl Sub<IntegerVariable> for Continuous
impl Sub<IntegerVariable> for Continuous
Source§fn sub(self, rhs: IntegerVariable) -> ContinuousExpression
fn sub(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.Source§impl Sub<IntegerVariable> for Integer
impl Sub<IntegerVariable> for Integer
Source§fn sub(self, rhs: IntegerVariable) -> IntegerExpression
fn sub(self, rhs: IntegerVariable) -> IntegerExpression
Returns an expression representing the subtraction.
Source§type Output = IntegerExpression
type Output = IntegerExpression
- operator.Source§impl Sub<f64> for IntegerVariable
impl Sub<f64> for IntegerVariable
Source§fn sub(self, rhs: Continuous) -> ContinuousExpression
fn sub(self, rhs: Continuous) -> ContinuousExpression
Returns an expression representing the subtraction.
Source§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.Source§impl Sub<i32> for IntegerVariable
impl Sub<i32> for IntegerVariable
Source§fn sub(self, rhs: Integer) -> IntegerExpression
fn sub(self, rhs: Integer) -> IntegerExpression
Returns an expression representing the subtraction.
Source§type Output = IntegerExpression
type Output = IntegerExpression
- operator.Source§impl Sub for IntegerVariable
impl Sub for IntegerVariable
Source§fn sub(self, rhs: IntegerVariable) -> IntegerExpression
fn sub(self, rhs: IntegerVariable) -> IntegerExpression
Returns an expression representing the subtraction.
Source§type Output = IntegerExpression
type Output = IntegerExpression
- operator.