Type Alias dypdl::variable_type::Integer
source · pub type Integer = i32;
Expand description
Integer numeric value.
Trait Implementations§
source§impl Add<ContinuousExpression> for Integer
impl Add<ContinuousExpression> for Integer
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 Integer
impl Add<ContinuousResourceVariable> for Integer
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 Integer
impl Add<ContinuousVariable> for Integer
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 Integer
impl Add<IntegerExpression> for Integer
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 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 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.
§type Output = IntegerExpression
type Output = IntegerExpression
+
operator.source§impl ContinuousBinaryOperation<ContinuousExpression> for Integer
impl ContinuousBinaryOperation<ContinuousExpression> for Integer
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 Integer
impl ContinuousBinaryOperation<ContinuousResourceVariable> for Integer
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 Integer
impl ContinuousBinaryOperation<ContinuousVariable> for Integer
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 Div<ContinuousExpression> for Integer
impl Div<ContinuousExpression> for Integer
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 Integer
impl Div<ContinuousResourceVariable> for Integer
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 Integer
impl Div<ContinuousVariable> for Integer
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 Integer
impl Div<IntegerExpression> for Integer
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 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 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.
§type Output = IntegerExpression
type Output = IntegerExpression
/
operator.source§impl FromNumeric for Integer
impl FromNumeric for Integer
source§fn from_integer(n: Integer) -> Integer
fn from_integer(n: Integer) -> Integer
source§fn from_continuous(n: Continuous) -> Integer
fn from_continuous(n: Continuous) -> Integer
source§fn from_usize(n: usize) -> Integer
fn from_usize(n: usize) -> Integer
source§impl MaxMin<ContinuousExpression> for Integer
impl MaxMin<ContinuousExpression> for Integer
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 Integer
impl MaxMin<ContinuousResourceVariable> for Integer
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 Integer
impl MaxMin<ContinuousVariable> for Integer
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 Integer
impl MaxMin<IntegerExpression> for Integer
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 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 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 Mul<ContinuousExpression> for Integer
impl Mul<ContinuousExpression> for Integer
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 Integer
impl Mul<ContinuousResourceVariable> for Integer
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 Integer
impl Mul<ContinuousVariable> for Integer
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 Integer
impl Mul<IntegerExpression> for Integer
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 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 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.
§type Output = IntegerExpression
type Output = IntegerExpression
*
operator.source§impl Rem<ContinuousExpression> for Integer
impl Rem<ContinuousExpression> for Integer
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 Integer
impl Rem<ContinuousResourceVariable> for Integer
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 Integer
impl Rem<ContinuousVariable> for Integer
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 Integer
impl Rem<IntegerExpression> for Integer
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 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 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.
§type Output = IntegerExpression
type Output = IntegerExpression
%
operator.source§impl Sub<ContinuousExpression> for Integer
impl Sub<ContinuousExpression> for Integer
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 Integer
impl Sub<ContinuousResourceVariable> for Integer
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 Integer
impl Sub<ContinuousVariable> for Integer
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 Integer
impl Sub<IntegerExpression> for Integer
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 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 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.
§type Output = IntegerExpression
type Output = IntegerExpression
-
operator.