Struct dypdl::IntegerResourceVariable
source · pub struct IntegerResourceVariable(/* private fields */);
Expand description
A struct wrapping an id.
Implementations§
source§impl IntegerResourceVariable
impl IntegerResourceVariable
sourcepub fn abs(self) -> IntegerExpression
pub fn abs(self) -> IntegerExpression
Returns an expression representing the absolute value
Trait Implementations§
source§impl AccessPreference<IntegerResourceVariable> for Model
impl AccessPreference<IntegerResourceVariable> for Model
source§fn get_preference(&self, v: IntegerResourceVariable) -> Result<bool, ModelErr>
fn get_preference(&self, v: IntegerResourceVariable) -> Result<bool, ModelErr>
source§fn set_preference(
&mut self,
v: IntegerResourceVariable,
less_is_better: bool,
) -> Result<(), ModelErr>
fn set_preference( &mut self, v: IntegerResourceVariable, less_is_better: bool, ) -> Result<(), ModelErr>
source§impl AccessPreference<IntegerResourceVariable> for StateMetadata
impl AccessPreference<IntegerResourceVariable> for StateMetadata
source§fn get_preference(&self, v: IntegerResourceVariable) -> Result<bool, ModelErr>
fn get_preference(&self, v: IntegerResourceVariable) -> Result<bool, ModelErr>
source§fn set_preference(
&mut self,
v: IntegerResourceVariable,
less_is_better: bool,
) -> Result<(), ModelErr>
fn set_preference( &mut self, v: IntegerResourceVariable, less_is_better: bool, ) -> Result<(), ModelErr>
source§impl AccessTarget<IntegerResourceVariable, i32> for Model
impl AccessTarget<IntegerResourceVariable, i32> for Model
source§fn get_target(&self, v: IntegerResourceVariable) -> Result<Integer, ModelErr>
fn get_target(&self, v: IntegerResourceVariable) -> Result<Integer, ModelErr>
source§fn set_target(
&mut self,
v: IntegerResourceVariable,
target: Integer,
) -> Result<(), ModelErr>
fn set_target( &mut self, v: IntegerResourceVariable, target: Integer, ) -> Result<(), ModelErr>
source§impl Add<ContinuousExpression> for IntegerResourceVariable
impl Add<ContinuousExpression> for IntegerResourceVariable
source§fn add(self, rhs: ContinuousExpression) -> ContinuousExpression
fn add(self, rhs: ContinuousExpression) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+
operator.source§impl Add<ContinuousResourceVariable> for IntegerResourceVariable
impl Add<ContinuousResourceVariable> for IntegerResourceVariable
source§fn add(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn add(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+
operator.source§impl Add<ContinuousVariable> for IntegerResourceVariable
impl Add<ContinuousVariable> for IntegerResourceVariable
source§fn add(self, rhs: ContinuousVariable) -> ContinuousExpression
fn add(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+
operator.source§impl Add<IntegerExpression> for IntegerResourceVariable
impl Add<IntegerExpression> for IntegerResourceVariable
source§fn add(self, rhs: IntegerExpression) -> IntegerExpression
fn add(self, rhs: IntegerExpression) -> IntegerExpression
Returns an expression representing the addition.
§type Output = IntegerExpression
type Output = IntegerExpression
+
operator.source§impl Add<IntegerResourceVariable> for ContinuousExpression
impl Add<IntegerResourceVariable> for ContinuousExpression
source§fn add(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn add(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+
operator.source§impl Add<IntegerResourceVariable> for ContinuousResourceVariable
impl Add<IntegerResourceVariable> for ContinuousResourceVariable
source§fn add(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn add(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+
operator.source§impl Add<IntegerResourceVariable> for ContinuousVariable
impl Add<IntegerResourceVariable> for ContinuousVariable
source§fn add(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn add(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+
operator.source§impl Add<IntegerResourceVariable> for IntegerExpression
impl Add<IntegerResourceVariable> for IntegerExpression
source§fn add(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn add(self, rhs: IntegerResourceVariable) -> IntegerExpression
Returns an expression representing the addition.
§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.
§type Output = IntegerExpression
type Output = IntegerExpression
+
operator.source§impl Add<IntegerResourceVariable> for Continuous
impl Add<IntegerResourceVariable> for Continuous
source§fn add(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn add(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+
operator.source§impl Add<IntegerResourceVariable> for Integer
impl Add<IntegerResourceVariable> for Integer
source§fn add(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn add(self, rhs: IntegerResourceVariable) -> IntegerExpression
Returns an expression representing the addition.
§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.
§type Output = IntegerExpression
type Output = IntegerExpression
+
operator.source§impl Add<f64> for IntegerResourceVariable
impl Add<f64> for IntegerResourceVariable
source§fn add(self, rhs: Continuous) -> ContinuousExpression
fn add(self, rhs: Continuous) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+
operator.source§impl Add<i32> for IntegerResourceVariable
impl Add<i32> for IntegerResourceVariable
source§fn add(self, rhs: Integer) -> IntegerExpression
fn add(self, rhs: Integer) -> IntegerExpression
Returns an expression representing the addition.
§type Output = IntegerExpression
type Output = IntegerExpression
+
operator.source§impl Add for IntegerResourceVariable
impl Add for IntegerResourceVariable
source§fn add(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn add(self, rhs: IntegerResourceVariable) -> IntegerExpression
Returns an expression representing the addition.
§type Output = IntegerExpression
type Output = IntegerExpression
+
operator.source§impl AddEffect<IntegerResourceVariable, IntegerExpression> for Transition
impl AddEffect<IntegerResourceVariable, IntegerExpression> for Transition
source§fn add_effect<V>(
&mut self,
v: IntegerResourceVariable,
expression: V,
) -> Result<(), ModelErr>where
IntegerExpression: From<V>,
fn add_effect<V>(
&mut self,
v: IntegerResourceVariable,
expression: V,
) -> Result<(), ModelErr>where
IntegerExpression: From<V>,
source§impl CheckVariable<IntegerResourceVariable> for StateMetadata
impl CheckVariable<IntegerResourceVariable> for StateMetadata
source§fn check_variable(&self, v: IntegerResourceVariable) -> Result<(), ModelErr>
fn check_variable(&self, v: IntegerResourceVariable) -> Result<(), ModelErr>
source§impl Clone for IntegerResourceVariable
impl Clone for IntegerResourceVariable
source§fn clone(&self) -> IntegerResourceVariable
fn clone(&self) -> IntegerResourceVariable
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 IntegerResourceVariable
impl ContinuousBinaryOperation<ContinuousExpression> for IntegerResourceVariable
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 IntegerResourceVariable
impl ContinuousBinaryOperation<ContinuousResourceVariable> for IntegerResourceVariable
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 IntegerResourceVariable
impl ContinuousBinaryOperation<ContinuousVariable> for IntegerResourceVariable
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<IntegerResourceVariable> for ContinuousExpression
impl ContinuousBinaryOperation<IntegerResourceVariable> for ContinuousExpression
type Output = ContinuousExpression
source§fn pow(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn pow(self, rhs: IntegerResourceVariable) -> ContinuousExpression
source§fn log(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn log(self, rhs: IntegerResourceVariable) -> ContinuousExpression
source§impl ContinuousBinaryOperation<IntegerResourceVariable> for ContinuousResourceVariable
impl ContinuousBinaryOperation<IntegerResourceVariable> for ContinuousResourceVariable
type Output = ContinuousExpression
source§fn pow(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn pow(self, rhs: IntegerResourceVariable) -> ContinuousExpression
source§fn log(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn log(self, rhs: IntegerResourceVariable) -> ContinuousExpression
source§impl ContinuousBinaryOperation<IntegerResourceVariable> for ContinuousVariable
impl ContinuousBinaryOperation<IntegerResourceVariable> for ContinuousVariable
type Output = ContinuousExpression
source§fn pow(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn pow(self, rhs: IntegerResourceVariable) -> ContinuousExpression
source§fn log(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn log(self, rhs: IntegerResourceVariable) -> ContinuousExpression
source§impl ContinuousBinaryOperation<IntegerResourceVariable> for Continuous
impl ContinuousBinaryOperation<IntegerResourceVariable> for Continuous
type Output = ContinuousExpression
source§fn pow(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn pow(self, rhs: IntegerResourceVariable) -> ContinuousExpression
source§fn log(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn log(self, rhs: IntegerResourceVariable) -> ContinuousExpression
source§impl ContinuousBinaryOperation<f64> for IntegerResourceVariable
impl ContinuousBinaryOperation<f64> for IntegerResourceVariable
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 IntegerResourceVariable
impl Debug for IntegerResourceVariable
source§impl Div<ContinuousExpression> for IntegerResourceVariable
impl Div<ContinuousExpression> for IntegerResourceVariable
source§fn div(self, rhs: ContinuousExpression) -> ContinuousExpression
fn div(self, rhs: ContinuousExpression) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/
operator.source§impl Div<ContinuousResourceVariable> for IntegerResourceVariable
impl Div<ContinuousResourceVariable> for IntegerResourceVariable
source§fn div(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn div(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/
operator.source§impl Div<ContinuousVariable> for IntegerResourceVariable
impl Div<ContinuousVariable> for IntegerResourceVariable
source§fn div(self, rhs: ContinuousVariable) -> ContinuousExpression
fn div(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/
operator.source§impl Div<IntegerExpression> for IntegerResourceVariable
impl Div<IntegerExpression> for IntegerResourceVariable
source§fn div(self, rhs: IntegerExpression) -> IntegerExpression
fn div(self, rhs: IntegerExpression) -> IntegerExpression
Returns an expression representing the division.
§type Output = IntegerExpression
type Output = IntegerExpression
/
operator.source§impl Div<IntegerResourceVariable> for ContinuousExpression
impl Div<IntegerResourceVariable> for ContinuousExpression
source§fn div(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn div(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/
operator.source§impl Div<IntegerResourceVariable> for ContinuousResourceVariable
impl Div<IntegerResourceVariable> for ContinuousResourceVariable
source§fn div(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn div(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/
operator.source§impl Div<IntegerResourceVariable> for ContinuousVariable
impl Div<IntegerResourceVariable> for ContinuousVariable
source§fn div(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn div(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/
operator.source§impl Div<IntegerResourceVariable> for IntegerExpression
impl Div<IntegerResourceVariable> for IntegerExpression
source§fn div(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn div(self, rhs: IntegerResourceVariable) -> IntegerExpression
Returns an expression representing the division.
§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.
§type Output = IntegerExpression
type Output = IntegerExpression
/
operator.source§impl Div<IntegerResourceVariable> for Continuous
impl Div<IntegerResourceVariable> for Continuous
source§fn div(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn div(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/
operator.source§impl Div<IntegerResourceVariable> for Integer
impl Div<IntegerResourceVariable> for Integer
source§fn div(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn div(self, rhs: IntegerResourceVariable) -> IntegerExpression
Returns an expression representing the division.
§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.
§type Output = IntegerExpression
type Output = IntegerExpression
/
operator.source§impl Div<f64> for IntegerResourceVariable
impl Div<f64> for IntegerResourceVariable
source§fn div(self, rhs: Continuous) -> ContinuousExpression
fn div(self, rhs: Continuous) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/
operator.source§impl Div<i32> for IntegerResourceVariable
impl Div<i32> for IntegerResourceVariable
source§fn div(self, rhs: Integer) -> IntegerExpression
fn div(self, rhs: Integer) -> IntegerExpression
Returns an expression representing the division.
§type Output = IntegerExpression
type Output = IntegerExpression
/
operator.source§impl Div for IntegerResourceVariable
impl Div for IntegerResourceVariable
source§fn div(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn div(self, rhs: IntegerResourceVariable) -> IntegerExpression
Returns an expression representing the division.
§type Output = IntegerExpression
type Output = IntegerExpression
/
operator.source§impl From<IntegerResourceVariable> for ContinuousExpression
impl From<IntegerResourceVariable> for ContinuousExpression
source§fn from(v: IntegerResourceVariable) -> Self
fn from(v: IntegerResourceVariable) -> Self
source§impl From<IntegerResourceVariable> for IntegerExpression
impl From<IntegerResourceVariable> for IntegerExpression
source§fn from(v: IntegerResourceVariable) -> Self
fn from(v: IntegerResourceVariable) -> Self
Returns an expression representing the resource variable.
source§impl MaxMin<ContinuousExpression> for IntegerResourceVariable
impl MaxMin<ContinuousExpression> for IntegerResourceVariable
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 IntegerResourceVariable
impl MaxMin<ContinuousResourceVariable> for IntegerResourceVariable
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 IntegerResourceVariable
impl MaxMin<ContinuousVariable> for IntegerResourceVariable
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 IntegerResourceVariable
impl MaxMin<IntegerExpression> for IntegerResourceVariable
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 ContinuousExpression
impl MaxMin<IntegerResourceVariable> for ContinuousExpression
type Output = ContinuousExpression
source§fn max(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn max(self, rhs: IntegerResourceVariable) -> ContinuousExpression
source§fn min(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn min(self, rhs: IntegerResourceVariable) -> ContinuousExpression
source§impl MaxMin<IntegerResourceVariable> for ContinuousResourceVariable
impl MaxMin<IntegerResourceVariable> for ContinuousResourceVariable
type Output = ContinuousExpression
source§fn max(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn max(self, rhs: IntegerResourceVariable) -> ContinuousExpression
source§fn min(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn min(self, rhs: IntegerResourceVariable) -> ContinuousExpression
source§impl MaxMin<IntegerResourceVariable> for ContinuousVariable
impl MaxMin<IntegerResourceVariable> for ContinuousVariable
type Output = ContinuousExpression
source§fn max(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn max(self, rhs: IntegerResourceVariable) -> ContinuousExpression
source§fn min(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn min(self, rhs: IntegerResourceVariable) -> ContinuousExpression
source§impl MaxMin<IntegerResourceVariable> for IntegerExpression
impl MaxMin<IntegerResourceVariable> for IntegerExpression
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<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<IntegerResourceVariable> for Continuous
impl MaxMin<IntegerResourceVariable> for Continuous
type Output = ContinuousExpression
source§fn max(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn max(self, rhs: IntegerResourceVariable) -> ContinuousExpression
source§fn min(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn min(self, rhs: IntegerResourceVariable) -> ContinuousExpression
source§impl MaxMin<IntegerResourceVariable> for Integer
impl MaxMin<IntegerResourceVariable> for Integer
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 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<f64> for IntegerResourceVariable
impl MaxMin<f64> for IntegerResourceVariable
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 IntegerResourceVariable
impl MaxMin<i32> for IntegerResourceVariable
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 IntegerResourceVariable
impl MaxMin for IntegerResourceVariable
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 Mul<ContinuousExpression> for IntegerResourceVariable
impl Mul<ContinuousExpression> for IntegerResourceVariable
source§fn mul(self, rhs: ContinuousExpression) -> ContinuousExpression
fn mul(self, rhs: ContinuousExpression) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
*
operator.source§impl Mul<ContinuousResourceVariable> for IntegerResourceVariable
impl Mul<ContinuousResourceVariable> for IntegerResourceVariable
source§fn mul(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn mul(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
*
operator.source§impl Mul<ContinuousVariable> for IntegerResourceVariable
impl Mul<ContinuousVariable> for IntegerResourceVariable
source§fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression
fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
*
operator.source§impl Mul<IntegerExpression> for IntegerResourceVariable
impl Mul<IntegerExpression> for IntegerResourceVariable
source§fn mul(self, rhs: IntegerExpression) -> IntegerExpression
fn mul(self, rhs: IntegerExpression) -> IntegerExpression
Returns an expression representing the multiplication.
§type Output = IntegerExpression
type Output = IntegerExpression
*
operator.source§impl Mul<IntegerResourceVariable> for ContinuousExpression
impl Mul<IntegerResourceVariable> for ContinuousExpression
source§fn mul(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn mul(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
*
operator.source§impl Mul<IntegerResourceVariable> for ContinuousResourceVariable
impl Mul<IntegerResourceVariable> for ContinuousResourceVariable
source§fn mul(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn mul(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
*
operator.source§impl Mul<IntegerResourceVariable> for ContinuousVariable
impl Mul<IntegerResourceVariable> for ContinuousVariable
source§fn mul(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn mul(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
*
operator.source§impl Mul<IntegerResourceVariable> for IntegerExpression
impl Mul<IntegerResourceVariable> for IntegerExpression
source§fn mul(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn mul(self, rhs: IntegerResourceVariable) -> IntegerExpression
Returns an expression representing the multiplication.
§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.
§type Output = IntegerExpression
type Output = IntegerExpression
*
operator.source§impl Mul<IntegerResourceVariable> for Continuous
impl Mul<IntegerResourceVariable> for Continuous
source§fn mul(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn mul(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
*
operator.source§impl Mul<IntegerResourceVariable> for Integer
impl Mul<IntegerResourceVariable> for Integer
source§fn mul(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn mul(self, rhs: IntegerResourceVariable) -> IntegerExpression
Returns an expression representing the multiplication.
§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.
§type Output = IntegerExpression
type Output = IntegerExpression
*
operator.source§impl Mul<f64> for IntegerResourceVariable
impl Mul<f64> for IntegerResourceVariable
source§fn mul(self, rhs: Continuous) -> ContinuousExpression
fn mul(self, rhs: Continuous) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
*
operator.source§impl Mul<i32> for IntegerResourceVariable
impl Mul<i32> for IntegerResourceVariable
source§fn mul(self, rhs: Integer) -> IntegerExpression
fn mul(self, rhs: Integer) -> IntegerExpression
Returns an expression representing the multiplication.
§type Output = IntegerExpression
type Output = IntegerExpression
*
operator.source§impl Mul for IntegerResourceVariable
impl Mul for IntegerResourceVariable
source§fn mul(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn mul(self, rhs: IntegerResourceVariable) -> IntegerExpression
Returns an expression representing the multiplication.
§type Output = IntegerExpression
type Output = IntegerExpression
*
operator.source§impl Neg for IntegerResourceVariable
impl Neg for IntegerResourceVariable
source§impl PartialEq for IntegerResourceVariable
impl PartialEq for IntegerResourceVariable
source§fn eq(&self, other: &IntegerResourceVariable) -> bool
fn eq(&self, other: &IntegerResourceVariable) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Rem<ContinuousExpression> for IntegerResourceVariable
impl Rem<ContinuousExpression> for IntegerResourceVariable
source§fn rem(self, rhs: ContinuousExpression) -> ContinuousExpression
fn rem(self, rhs: ContinuousExpression) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
%
operator.source§impl Rem<ContinuousResourceVariable> for IntegerResourceVariable
impl Rem<ContinuousResourceVariable> for IntegerResourceVariable
source§fn rem(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn rem(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
%
operator.source§impl Rem<ContinuousVariable> for IntegerResourceVariable
impl Rem<ContinuousVariable> for IntegerResourceVariable
source§fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression
fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
%
operator.source§impl Rem<IntegerExpression> for IntegerResourceVariable
impl Rem<IntegerExpression> for IntegerResourceVariable
source§fn rem(self, rhs: IntegerExpression) -> IntegerExpression
fn rem(self, rhs: IntegerExpression) -> IntegerExpression
Returns an expression representing the remainder.
§type Output = IntegerExpression
type Output = IntegerExpression
%
operator.source§impl Rem<IntegerResourceVariable> for ContinuousExpression
impl Rem<IntegerResourceVariable> for ContinuousExpression
source§fn rem(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn rem(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
%
operator.source§impl Rem<IntegerResourceVariable> for ContinuousResourceVariable
impl Rem<IntegerResourceVariable> for ContinuousResourceVariable
source§fn rem(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn rem(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
%
operator.source§impl Rem<IntegerResourceVariable> for ContinuousVariable
impl Rem<IntegerResourceVariable> for ContinuousVariable
source§fn rem(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn rem(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
%
operator.source§impl Rem<IntegerResourceVariable> for IntegerExpression
impl Rem<IntegerResourceVariable> for IntegerExpression
source§fn rem(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn rem(self, rhs: IntegerResourceVariable) -> IntegerExpression
Returns an expression representing the remainder.
§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.
§type Output = IntegerExpression
type Output = IntegerExpression
%
operator.source§impl Rem<IntegerResourceVariable> for Continuous
impl Rem<IntegerResourceVariable> for Continuous
source§fn rem(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn rem(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
%
operator.source§impl Rem<IntegerResourceVariable> for Integer
impl Rem<IntegerResourceVariable> for Integer
source§fn rem(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn rem(self, rhs: IntegerResourceVariable) -> IntegerExpression
Returns an expression representing the remainder.
§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.
§type Output = IntegerExpression
type Output = IntegerExpression
%
operator.source§impl Rem<f64> for IntegerResourceVariable
impl Rem<f64> for IntegerResourceVariable
source§fn rem(self, rhs: Continuous) -> ContinuousExpression
fn rem(self, rhs: Continuous) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
%
operator.source§impl Rem<i32> for IntegerResourceVariable
impl Rem<i32> for IntegerResourceVariable
source§fn rem(self, rhs: Integer) -> IntegerExpression
fn rem(self, rhs: Integer) -> IntegerExpression
Returns an expression representing the remainder.
§type Output = IntegerExpression
type Output = IntegerExpression
%
operator.source§impl Rem for IntegerResourceVariable
impl Rem for IntegerResourceVariable
source§fn rem(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn rem(self, rhs: IntegerResourceVariable) -> IntegerExpression
Returns an expression representing the remainder.
§type Output = IntegerExpression
type Output = IntegerExpression
%
operator.source§impl Sub<ContinuousExpression> for IntegerResourceVariable
impl Sub<ContinuousExpression> for IntegerResourceVariable
source§fn sub(self, rhs: ContinuousExpression) -> ContinuousExpression
fn sub(self, rhs: ContinuousExpression) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
-
operator.source§impl Sub<ContinuousResourceVariable> for IntegerResourceVariable
impl Sub<ContinuousResourceVariable> for IntegerResourceVariable
source§fn sub(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn sub(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
-
operator.source§impl Sub<ContinuousVariable> for IntegerResourceVariable
impl Sub<ContinuousVariable> for IntegerResourceVariable
source§fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression
fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
-
operator.source§impl Sub<IntegerExpression> for IntegerResourceVariable
impl Sub<IntegerExpression> for IntegerResourceVariable
source§fn sub(self, rhs: IntegerExpression) -> IntegerExpression
fn sub(self, rhs: IntegerExpression) -> IntegerExpression
Returns an expression representing the subtraction.
§type Output = IntegerExpression
type Output = IntegerExpression
-
operator.source§impl Sub<IntegerResourceVariable> for ContinuousExpression
impl Sub<IntegerResourceVariable> for ContinuousExpression
source§fn sub(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn sub(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
-
operator.source§impl Sub<IntegerResourceVariable> for ContinuousResourceVariable
impl Sub<IntegerResourceVariable> for ContinuousResourceVariable
source§fn sub(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn sub(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
-
operator.source§impl Sub<IntegerResourceVariable> for ContinuousVariable
impl Sub<IntegerResourceVariable> for ContinuousVariable
source§fn sub(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn sub(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
-
operator.source§impl Sub<IntegerResourceVariable> for IntegerExpression
impl Sub<IntegerResourceVariable> for IntegerExpression
source§fn sub(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn sub(self, rhs: IntegerResourceVariable) -> IntegerExpression
Returns an expression representing the subtraction.
§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.
§type Output = IntegerExpression
type Output = IntegerExpression
-
operator.source§impl Sub<IntegerResourceVariable> for Continuous
impl Sub<IntegerResourceVariable> for Continuous
source§fn sub(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn sub(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
-
operator.source§impl Sub<IntegerResourceVariable> for Integer
impl Sub<IntegerResourceVariable> for Integer
source§fn sub(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn sub(self, rhs: IntegerResourceVariable) -> IntegerExpression
Returns an expression representing the subtraction.
§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.
§type Output = IntegerExpression
type Output = IntegerExpression
-
operator.source§impl Sub<f64> for IntegerResourceVariable
impl Sub<f64> for IntegerResourceVariable
source§fn sub(self, rhs: Continuous) -> ContinuousExpression
fn sub(self, rhs: Continuous) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
-
operator.source§impl Sub<i32> for IntegerResourceVariable
impl Sub<i32> for IntegerResourceVariable
source§fn sub(self, rhs: Integer) -> IntegerExpression
fn sub(self, rhs: Integer) -> IntegerExpression
Returns an expression representing the subtraction.
§type Output = IntegerExpression
type Output = IntegerExpression
-
operator.source§impl Sub for IntegerResourceVariable
impl Sub for IntegerResourceVariable
source§fn sub(self, rhs: IntegerResourceVariable) -> IntegerExpression
fn sub(self, rhs: IntegerResourceVariable) -> IntegerExpression
Returns an expression representing the subtraction.
§type Output = IntegerExpression
type Output = IntegerExpression
-
operator.