Type Alias dypdl::variable_type::Integer

source ·
pub type Integer = i32;
Expand description

Integer numeric value.

Trait Implementations§

source§

impl Add<ContinuousExpression> for Integer

source§

fn add(self, rhs: ContinuousExpression) -> ContinuousExpression

Returns an expression representing the addition.

§

type Output = ContinuousExpression

The resulting type after applying the + operator.
source§

impl Add<ContinuousResourceVariable> for Integer

source§

fn add(self, rhs: ContinuousResourceVariable) -> ContinuousExpression

Returns an expression representing the addition.

§

type Output = ContinuousExpression

The resulting type after applying the + operator.
source§

impl Add<ContinuousVariable> for Integer

source§

fn add(self, rhs: ContinuousVariable) -> ContinuousExpression

Returns an expression representing the addition.

§

type Output = ContinuousExpression

The resulting type after applying the + operator.
source§

impl Add<IntegerExpression> for Integer

source§

fn add(self, rhs: IntegerExpression) -> IntegerExpression

Returns an expression representing the addition.

§

type Output = IntegerExpression

The resulting type after applying the + operator.
source§

impl Add<IntegerResourceVariable> for Integer

source§

fn add(self, rhs: IntegerResourceVariable) -> IntegerExpression

Returns an expression representing the addition.

§

type Output = IntegerExpression

The resulting type after applying the + operator.
source§

impl Add<IntegerVariable> for Integer

source§

fn add(self, rhs: IntegerVariable) -> IntegerExpression

Returns an expression representing the addition.

§

type Output = IntegerExpression

The resulting type after applying the + operator.
source§

impl ContinuousBinaryOperation<ContinuousExpression> for Integer

§

type Output = ContinuousExpression

source§

fn pow(self, rhs: ContinuousExpression) -> ContinuousExpression

Returns an expression representing the power.
source§

fn log(self, rhs: ContinuousExpression) -> ContinuousExpression

Returns an expression representing the logarithm.
source§

impl ContinuousBinaryOperation<ContinuousResourceVariable> for Integer

§

type Output = ContinuousExpression

source§

fn pow(self, rhs: ContinuousResourceVariable) -> ContinuousExpression

Returns an expression representing the power.
source§

fn log(self, rhs: ContinuousResourceVariable) -> ContinuousExpression

Returns an expression representing the logarithm.
source§

impl ContinuousBinaryOperation<ContinuousVariable> for Integer

§

type Output = ContinuousExpression

source§

fn pow(self, rhs: ContinuousVariable) -> ContinuousExpression

Returns an expression representing the power.
source§

fn log(self, rhs: ContinuousVariable) -> ContinuousExpression

Returns an expression representing the logarithm.
source§

impl Div<ContinuousExpression> for Integer

source§

fn div(self, rhs: ContinuousExpression) -> ContinuousExpression

Returns an expression representing the division.

§

type Output = ContinuousExpression

The resulting type after applying the / operator.
source§

impl Div<ContinuousResourceVariable> for Integer

source§

fn div(self, rhs: ContinuousResourceVariable) -> ContinuousExpression

Returns an expression representing the division.

§

type Output = ContinuousExpression

The resulting type after applying the / operator.
source§

impl Div<ContinuousVariable> for Integer

source§

fn div(self, rhs: ContinuousVariable) -> ContinuousExpression

Returns an expression representing the division.

§

type Output = ContinuousExpression

The resulting type after applying the / operator.
source§

impl Div<IntegerExpression> for Integer

source§

fn div(self, rhs: IntegerExpression) -> IntegerExpression

Returns an expression representing the division.

§

type Output = IntegerExpression

The resulting type after applying the / operator.
source§

impl Div<IntegerResourceVariable> for Integer

source§

fn div(self, rhs: IntegerResourceVariable) -> IntegerExpression

Returns an expression representing the division.

§

type Output = IntegerExpression

The resulting type after applying the / operator.
source§

impl Div<IntegerVariable> for Integer

source§

fn div(self, rhs: IntegerVariable) -> IntegerExpression

Returns an expression representing the division.

§

type Output = IntegerExpression

The resulting type after applying the / operator.
source§

impl FromNumeric for Integer

source§

fn from_integer(n: Integer) -> Integer

Convert from an integer value.
source§

fn from_continuous(n: Continuous) -> Integer

Convert from a continuos value.
source§

fn from_usize(n: usize) -> Integer

Convert from usize.
source§

fn from<T: ToNumeric>(n: T) -> Integer

Convert from value that can be converted to a numeric value.
source§

impl MaxMin<ContinuousExpression> for Integer

§

type Output = ContinuousExpression

source§

fn max(self, rhs: ContinuousExpression) -> ContinuousExpression

Returns an expression representing the maximum.
source§

fn min(self, rhs: ContinuousExpression) -> ContinuousExpression

Returns an expression representing the minimum.
source§

impl MaxMin<ContinuousResourceVariable> for Integer

§

type Output = ContinuousExpression

source§

fn max(self, rhs: ContinuousResourceVariable) -> ContinuousExpression

Returns an expression representing the maximum.
source§

fn min(self, rhs: ContinuousResourceVariable) -> ContinuousExpression

Returns an expression representing the minimum.
source§

impl MaxMin<ContinuousVariable> for Integer

§

type Output = ContinuousExpression

source§

fn max(self, rhs: ContinuousVariable) -> ContinuousExpression

Returns an expression representing the maximum.
source§

fn min(self, rhs: ContinuousVariable) -> ContinuousExpression

Returns an expression representing the minimum.
source§

impl MaxMin<IntegerExpression> for Integer

§

type Output = IntegerExpression

source§

fn max(self, rhs: IntegerExpression) -> IntegerExpression

Returns an expression representing the maximum.
source§

fn min(self, rhs: IntegerExpression) -> IntegerExpression

Returns an expression representing the minimum.
source§

impl MaxMin<IntegerResourceVariable> for Integer

§

type Output = IntegerExpression

source§

fn max(self, rhs: IntegerResourceVariable) -> IntegerExpression

Returns an expression representing the maximum.
source§

fn min(self, rhs: IntegerResourceVariable) -> IntegerExpression

Returns an expression representing the minimum.
source§

impl MaxMin<IntegerVariable> for Integer

§

type Output = IntegerExpression

source§

fn max(self, rhs: IntegerVariable) -> IntegerExpression

Returns an expression representing the maximum.
source§

fn min(self, rhs: IntegerVariable) -> IntegerExpression

Returns an expression representing the minimum.
source§

impl Mul<ContinuousExpression> for Integer

source§

fn mul(self, rhs: ContinuousExpression) -> ContinuousExpression

Returns an expression representing the multiplication.

§

type Output = ContinuousExpression

The resulting type after applying the * operator.
source§

impl Mul<ContinuousResourceVariable> for Integer

source§

fn mul(self, rhs: ContinuousResourceVariable) -> ContinuousExpression

Returns an expression representing the multiplication.

§

type Output = ContinuousExpression

The resulting type after applying the * operator.
source§

impl Mul<ContinuousVariable> for Integer

source§

fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression

Returns an expression representing the multiplication.

§

type Output = ContinuousExpression

The resulting type after applying the * operator.
source§

impl Mul<IntegerExpression> for Integer

source§

fn mul(self, rhs: IntegerExpression) -> IntegerExpression

Returns an expression representing the multiplication.

§

type Output = IntegerExpression

The resulting type after applying the * operator.
source§

impl Mul<IntegerResourceVariable> for Integer

source§

fn mul(self, rhs: IntegerResourceVariable) -> IntegerExpression

Returns an expression representing the multiplication.

§

type Output = IntegerExpression

The resulting type after applying the * operator.
source§

impl Mul<IntegerVariable> for Integer

source§

fn mul(self, rhs: IntegerVariable) -> IntegerExpression

Returns an expression representing the multiplication.

§

type Output = IntegerExpression

The resulting type after applying the * operator.
source§

impl Rem<ContinuousExpression> for Integer

source§

fn rem(self, rhs: ContinuousExpression) -> ContinuousExpression

Returns an expression representing the remainder.

§

type Output = ContinuousExpression

The resulting type after applying the % operator.
source§

impl Rem<ContinuousResourceVariable> for Integer

source§

fn rem(self, rhs: ContinuousResourceVariable) -> ContinuousExpression

Returns an expression representing the remainder.

§

type Output = ContinuousExpression

The resulting type after applying the % operator.
source§

impl Rem<ContinuousVariable> for Integer

source§

fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression

Returns an expression representing the remainder.

§

type Output = ContinuousExpression

The resulting type after applying the % operator.
source§

impl Rem<IntegerExpression> for Integer

source§

fn rem(self, rhs: IntegerExpression) -> IntegerExpression

Returns an expression representing the remainder.

§

type Output = IntegerExpression

The resulting type after applying the % operator.
source§

impl Rem<IntegerResourceVariable> for Integer

source§

fn rem(self, rhs: IntegerResourceVariable) -> IntegerExpression

Returns an expression representing the remainder.

§

type Output = IntegerExpression

The resulting type after applying the % operator.
source§

impl Rem<IntegerVariable> for Integer

source§

fn rem(self, rhs: IntegerVariable) -> IntegerExpression

Returns an expression representing the remainder.

§

type Output = IntegerExpression

The resulting type after applying the % operator.
source§

impl Sub<ContinuousExpression> for Integer

source§

fn sub(self, rhs: ContinuousExpression) -> ContinuousExpression

Returns an expression representing the subtraction.

§

type Output = ContinuousExpression

The resulting type after applying the - operator.
source§

impl Sub<ContinuousResourceVariable> for Integer

source§

fn sub(self, rhs: ContinuousResourceVariable) -> ContinuousExpression

Returns an expression representing the subtraction.

§

type Output = ContinuousExpression

The resulting type after applying the - operator.
source§

impl Sub<ContinuousVariable> for Integer

source§

fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression

Returns an expression representing the subtraction.

§

type Output = ContinuousExpression

The resulting type after applying the - operator.
source§

impl Sub<IntegerExpression> for Integer

source§

fn sub(self, rhs: IntegerExpression) -> IntegerExpression

Returns an expression representing the subtraction.

§

type Output = IntegerExpression

The resulting type after applying the - operator.
source§

impl Sub<IntegerResourceVariable> for Integer

source§

fn sub(self, rhs: IntegerResourceVariable) -> IntegerExpression

Returns an expression representing the subtraction.

§

type Output = IntegerExpression

The resulting type after applying the - operator.
source§

impl Sub<IntegerVariable> for Integer

source§

fn sub(self, rhs: IntegerVariable) -> IntegerExpression

Returns an expression representing the subtraction.

§

type Output = IntegerExpression

The resulting type after applying the - operator.
source§

impl ToNumeric for Integer

source§

fn to_integer(self) -> Integer

Convert to an integer value.
source§

fn to_continuous(self) -> Continuous

Convert to a continuous value.
source§

impl ToVariableString for Integer

source§

impl Numeric for Integer