Skip to main content

ContinuousResourceVariable

Struct ContinuousResourceVariable 

Source
pub struct ContinuousResourceVariable(/* private fields */);
Expand description

A struct wrapping an id.

Implementations§

Source§

impl ContinuousResourceVariable

Source

pub fn abs(self) -> ContinuousExpression

Returns an expression representing the absolute value

Source

pub fn sqrt(self) -> ContinuousExpression

Returns an expression representing the square root.

Source

pub fn floor(self) -> ContinuousExpression

Returns an expression representing the floor.

Source

pub fn ceil(self) -> ContinuousExpression

Returns an expression representing the ceiling.

Source

pub fn round(self) -> ContinuousExpression

Returns an expression representing the rounded value.

Source

pub fn trunc(self) -> ContinuousExpression

Returns an expression representing the truncated value.

Source§

impl ContinuousResourceVariable

Source

pub fn id(&self) -> usize

Returns the id.

Trait Implementations§

Source§

impl AccessPreference<ContinuousResourceVariable> for Model

Source§

fn get_preference( &self, v: ContinuousResourceVariable, ) -> Result<bool, ModelErr>

Returns the preference of a resource variable. Read more
Source§

fn set_preference( &mut self, v: ContinuousResourceVariable, less_is_better: bool, ) -> Result<(), ModelErr>

Sets the preference of a resource variable. Read more
Source§

impl AccessPreference<ContinuousResourceVariable> for StateMetadata

Source§

fn get_preference( &self, v: ContinuousResourceVariable, ) -> Result<bool, ModelErr>

Returns the preference of a resource variable. Read more
Source§

fn set_preference( &mut self, v: ContinuousResourceVariable, less_is_better: bool, ) -> Result<(), ModelErr>

Sets the preference of a resource variable. Read more
Source§

impl AccessTarget<ContinuousResourceVariable, f64> for Model

Source§

fn get_target( &self, v: ContinuousResourceVariable, ) -> Result<Continuous, ModelErr>

Returns the value in the target state. Read more
Source§

fn set_target( &mut self, v: ContinuousResourceVariable, target: Continuous, ) -> Result<(), ModelErr>

Set the value in the target state Read more
Source§

impl Add<ContinuousExpression> for ContinuousResourceVariable

Source§

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

Returns an expression representing the addition.

Source§

type Output = ContinuousExpression

The resulting type after applying the + operator.
Source§

impl Add<ContinuousResourceVariable> for ContinuousExpression

Source§

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

Returns an expression representing the addition.

Source§

type Output = ContinuousExpression

The resulting type after applying the + operator.
Source§

impl Add<ContinuousResourceVariable> for ContinuousVariable

Source§

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

Returns an expression representing the addition.

Source§

type Output = ContinuousExpression

The resulting type after applying the + operator.
Source§

impl Add<ContinuousResourceVariable> for IntegerExpression

Source§

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

Returns an expression representing the addition.

Source§

type Output = ContinuousExpression

The resulting type after applying the + operator.
Source§

impl Add<ContinuousResourceVariable> for IntegerResourceVariable

Source§

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

Returns an expression representing the addition.

Source§

type Output = ContinuousExpression

The resulting type after applying the + operator.
Source§

impl Add<ContinuousResourceVariable> for IntegerVariable

Source§

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

Returns an expression representing the addition.

Source§

type Output = ContinuousExpression

The resulting type after applying the + operator.
Source§

impl Add<ContinuousResourceVariable> for Continuous

Source§

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

Returns an expression representing the addition.

Source§

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.

Source§

type Output = ContinuousExpression

The resulting type after applying the + operator.
Source§

impl Add<ContinuousVariable> for ContinuousResourceVariable

Source§

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

Returns an expression representing the addition.

Source§

type Output = ContinuousExpression

The resulting type after applying the + operator.
Source§

impl Add<IntegerExpression> for ContinuousResourceVariable

Source§

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

Returns an expression representing the addition.

Source§

type Output = ContinuousExpression

The resulting type after applying the + operator.
Source§

impl Add<IntegerResourceVariable> for ContinuousResourceVariable

Source§

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

Returns an expression representing the addition.

Source§

type Output = ContinuousExpression

The resulting type after applying the + operator.
Source§

impl Add<IntegerVariable> for ContinuousResourceVariable

Source§

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

Returns an expression representing the addition.

Source§

type Output = ContinuousExpression

The resulting type after applying the + operator.
Source§

impl Add<f64> for ContinuousResourceVariable

Source§

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

Returns an expression representing the addition.

Source§

type Output = ContinuousExpression

The resulting type after applying the + operator.
Source§

impl Add<i32> for ContinuousResourceVariable

Source§

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

Returns an expression representing the addition.

Source§

type Output = ContinuousExpression

The resulting type after applying the + operator.
Source§

impl Add for ContinuousResourceVariable

Source§

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

Returns an expression representing the addition.

Source§

type Output = ContinuousExpression

The resulting type after applying the + operator.
Source§

impl AddEffect<ContinuousResourceVariable, ContinuousExpression> for Transition

Source§

fn add_effect<V>( &mut self, v: ContinuousResourceVariable, expression: V, ) -> Result<(), ModelErr>

Adds an effect. Read more
Source§

impl CheckVariable<ContinuousResourceVariable> for StateMetadata

Source§

fn check_variable(&self, v: ContinuousResourceVariable) -> Result<(), ModelErr>

Check if the variable is defined. Read more
Source§

impl Clone for ContinuousResourceVariable

Source§

fn clone(&self) -> ContinuousResourceVariable

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl ContinuousBinaryOperation<ContinuousExpression> for ContinuousResourceVariable

Source§

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 ContinuousExpression

Source§

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<ContinuousResourceVariable> for ContinuousVariable

Source§

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<ContinuousResourceVariable> for IntegerExpression

Source§

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<ContinuousResourceVariable> for IntegerResourceVariable

Source§

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<ContinuousResourceVariable> for IntegerVariable

Source§

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<ContinuousResourceVariable> for Continuous

Source§

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<ContinuousResourceVariable> for Integer

Source§

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 ContinuousResourceVariable

Source§

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 ContinuousBinaryOperation<IntegerExpression> for ContinuousResourceVariable

Source§

type Output = ContinuousExpression

Source§

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

Returns an expression representing the power.
Source§

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

Returns an expression representing the logarithm.
Source§

impl ContinuousBinaryOperation<IntegerResourceVariable> for ContinuousResourceVariable

Source§

type Output = ContinuousExpression

Source§

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

Returns an expression representing the power.
Source§

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

Returns an expression representing the logarithm.
Source§

impl ContinuousBinaryOperation<IntegerVariable> for ContinuousResourceVariable

Source§

type Output = ContinuousExpression

Source§

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

Returns an expression representing the power.
Source§

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

Returns an expression representing the logarithm.
Source§

impl ContinuousBinaryOperation<f64> for ContinuousResourceVariable

Source§

type Output = ContinuousExpression

Source§

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

Returns an expression representing the power.
Source§

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

Returns an expression representing the logarithm.
Source§

impl ContinuousBinaryOperation<i32> for ContinuousResourceVariable

Source§

type Output = ContinuousExpression

Source§

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

Returns an expression representing the power.
Source§

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

Returns an expression representing the logarithm.
Source§

impl ContinuousBinaryOperation for ContinuousResourceVariable

Source§

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 Debug for ContinuousResourceVariable

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Div<ContinuousExpression> for ContinuousResourceVariable

Source§

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

Returns an expression representing the division.

Source§

type Output = ContinuousExpression

The resulting type after applying the / operator.
Source§

impl Div<ContinuousResourceVariable> for ContinuousExpression

Source§

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

Returns an expression representing the division.

Source§

type Output = ContinuousExpression

The resulting type after applying the / operator.
Source§

impl Div<ContinuousResourceVariable> for ContinuousVariable

Source§

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

Returns an expression representing the division.

Source§

type Output = ContinuousExpression

The resulting type after applying the / operator.
Source§

impl Div<ContinuousResourceVariable> for IntegerExpression

Source§

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

Returns an expression representing the division.

Source§

type Output = ContinuousExpression

The resulting type after applying the / operator.
Source§

impl Div<ContinuousResourceVariable> for IntegerResourceVariable

Source§

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

Returns an expression representing the division.

Source§

type Output = ContinuousExpression

The resulting type after applying the / operator.
Source§

impl Div<ContinuousResourceVariable> for IntegerVariable

Source§

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

Returns an expression representing the division.

Source§

type Output = ContinuousExpression

The resulting type after applying the / operator.
Source§

impl Div<ContinuousResourceVariable> for Continuous

Source§

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

Returns an expression representing the division.

Source§

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.

Source§

type Output = ContinuousExpression

The resulting type after applying the / operator.
Source§

impl Div<ContinuousVariable> for ContinuousResourceVariable

Source§

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

Returns an expression representing the division.

Source§

type Output = ContinuousExpression

The resulting type after applying the / operator.
Source§

impl Div<IntegerExpression> for ContinuousResourceVariable

Source§

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

Returns an expression representing the division.

Source§

type Output = ContinuousExpression

The resulting type after applying the / operator.
Source§

impl Div<IntegerResourceVariable> for ContinuousResourceVariable

Source§

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

Returns an expression representing the division.

Source§

type Output = ContinuousExpression

The resulting type after applying the / operator.
Source§

impl Div<IntegerVariable> for ContinuousResourceVariable

Source§

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

Returns an expression representing the division.

Source§

type Output = ContinuousExpression

The resulting type after applying the / operator.
Source§

impl Div<f64> for ContinuousResourceVariable

Source§

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

Returns an expression representing the division.

Source§

type Output = ContinuousExpression

The resulting type after applying the / operator.
Source§

impl Div<i32> for ContinuousResourceVariable

Source§

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

Returns an expression representing the division.

Source§

type Output = ContinuousExpression

The resulting type after applying the / operator.
Source§

impl Div for ContinuousResourceVariable

Source§

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

Returns an expression representing the division.

Source§

type Output = ContinuousExpression

The resulting type after applying the / operator.
Source§

impl From<ContinuousResourceVariable> for ContinuousExpression

Source§

fn from(v: ContinuousResourceVariable) -> Self

Converts to this type from the input type.
Source§

impl From<ContinuousResourceVariable> for CostExpression

Source§

fn from(cost: ContinuousResourceVariable) -> Self

Converts to this type from the input type.
Source§

impl MaxMin<ContinuousExpression> for ContinuousResourceVariable

Source§

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 ContinuousExpression

Source§

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<ContinuousResourceVariable> for ContinuousVariable

Source§

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<ContinuousResourceVariable> for IntegerExpression

Source§

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<ContinuousResourceVariable> for IntegerResourceVariable

Source§

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<ContinuousResourceVariable> for IntegerVariable

Source§

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<ContinuousResourceVariable> for Continuous

Source§

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<ContinuousResourceVariable> for Integer

Source§

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 ContinuousResourceVariable

Source§

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 ContinuousResourceVariable

Source§

type Output = ContinuousExpression

Source§

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

Returns an expression representing the maximum.
Source§

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

Returns an expression representing the minimum.
Source§

impl MaxMin<IntegerResourceVariable> for ContinuousResourceVariable

Source§

type Output = ContinuousExpression

Source§

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

Returns an expression representing the maximum.
Source§

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

Returns an expression representing the minimum.
Source§

impl MaxMin<IntegerVariable> for ContinuousResourceVariable

Source§

type Output = ContinuousExpression

Source§

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

Returns an expression representing the maximum.
Source§

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

Returns an expression representing the minimum.
Source§

impl MaxMin<f64> for ContinuousResourceVariable

Source§

type Output = ContinuousExpression

Source§

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

Returns an expression representing the maximum.
Source§

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

Returns an expression representing the minimum.
Source§

impl MaxMin<i32> for ContinuousResourceVariable

Source§

type Output = ContinuousExpression

Source§

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

Returns an expression representing the maximum.
Source§

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

Returns an expression representing the minimum.
Source§

impl MaxMin for ContinuousResourceVariable

Source§

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 Mul<ContinuousExpression> for ContinuousResourceVariable

Source§

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

Returns an expression representing the multiplication.

Source§

type Output = ContinuousExpression

The resulting type after applying the * operator.
Source§

impl Mul<ContinuousResourceVariable> for ContinuousExpression

Source§

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

Returns an expression representing the multiplication.

Source§

type Output = ContinuousExpression

The resulting type after applying the * operator.
Source§

impl Mul<ContinuousResourceVariable> for ContinuousVariable

Source§

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

Returns an expression representing the multiplication.

Source§

type Output = ContinuousExpression

The resulting type after applying the * operator.
Source§

impl Mul<ContinuousResourceVariable> for IntegerExpression

Source§

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

Returns an expression representing the multiplication.

Source§

type Output = ContinuousExpression

The resulting type after applying the * operator.
Source§

impl Mul<ContinuousResourceVariable> for IntegerResourceVariable

Source§

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

Returns an expression representing the multiplication.

Source§

type Output = ContinuousExpression

The resulting type after applying the * operator.
Source§

impl Mul<ContinuousResourceVariable> for IntegerVariable

Source§

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

Returns an expression representing the multiplication.

Source§

type Output = ContinuousExpression

The resulting type after applying the * operator.
Source§

impl Mul<ContinuousResourceVariable> for Continuous

Source§

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

Returns an expression representing the multiplication.

Source§

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.

Source§

type Output = ContinuousExpression

The resulting type after applying the * operator.
Source§

impl Mul<ContinuousVariable> for ContinuousResourceVariable

Source§

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

Returns an expression representing the multiplication.

Source§

type Output = ContinuousExpression

The resulting type after applying the * operator.
Source§

impl Mul<IntegerExpression> for ContinuousResourceVariable

Source§

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

Returns an expression representing the multiplication.

Source§

type Output = ContinuousExpression

The resulting type after applying the * operator.
Source§

impl Mul<IntegerResourceVariable> for ContinuousResourceVariable

Source§

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

Returns an expression representing the multiplication.

Source§

type Output = ContinuousExpression

The resulting type after applying the * operator.
Source§

impl Mul<IntegerVariable> for ContinuousResourceVariable

Source§

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

Returns an expression representing the multiplication.

Source§

type Output = ContinuousExpression

The resulting type after applying the * operator.
Source§

impl Mul<f64> for ContinuousResourceVariable

Source§

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

Returns an expression representing the multiplication.

Source§

type Output = ContinuousExpression

The resulting type after applying the * operator.
Source§

impl Mul<i32> for ContinuousResourceVariable

Source§

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

Returns an expression representing the multiplication.

Source§

type Output = ContinuousExpression

The resulting type after applying the * operator.
Source§

impl Mul for ContinuousResourceVariable

Source§

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

Returns an expression representing the multiplication.

Source§

type Output = ContinuousExpression

The resulting type after applying the * operator.
Source§

impl Neg for ContinuousResourceVariable

Source§

fn neg(self) -> Self::Output

Returns an expression representing the negative value.

Source§

type Output = ContinuousExpression

The resulting type after applying the - operator.
Source§

impl PartialEq for ContinuousResourceVariable

Source§

fn eq(&self, other: &ContinuousResourceVariable) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Rem<ContinuousExpression> for ContinuousResourceVariable

Source§

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

Returns an expression representing the remainder.

Source§

type Output = ContinuousExpression

The resulting type after applying the % operator.
Source§

impl Rem<ContinuousResourceVariable> for ContinuousExpression

Source§

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

Returns an expression representing the remainder.

Source§

type Output = ContinuousExpression

The resulting type after applying the % operator.
Source§

impl Rem<ContinuousResourceVariable> for ContinuousVariable

Source§

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

Returns an expression representing the remainder.

Source§

type Output = ContinuousExpression

The resulting type after applying the % operator.
Source§

impl Rem<ContinuousResourceVariable> for IntegerExpression

Source§

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

Returns an expression representing the remainder.

Source§

type Output = ContinuousExpression

The resulting type after applying the % operator.
Source§

impl Rem<ContinuousResourceVariable> for IntegerResourceVariable

Source§

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

Returns an expression representing the remainder.

Source§

type Output = ContinuousExpression

The resulting type after applying the % operator.
Source§

impl Rem<ContinuousResourceVariable> for IntegerVariable

Source§

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

Returns an expression representing the remainder.

Source§

type Output = ContinuousExpression

The resulting type after applying the % operator.
Source§

impl Rem<ContinuousResourceVariable> for Continuous

Source§

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

Returns an expression representing the remainder.

Source§

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.

Source§

type Output = ContinuousExpression

The resulting type after applying the % operator.
Source§

impl Rem<ContinuousVariable> for ContinuousResourceVariable

Source§

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

Returns an expression representing the remainder.

Source§

type Output = ContinuousExpression

The resulting type after applying the % operator.
Source§

impl Rem<IntegerExpression> for ContinuousResourceVariable

Source§

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

Returns an expression representing the remainder.

Source§

type Output = ContinuousExpression

The resulting type after applying the % operator.
Source§

impl Rem<IntegerResourceVariable> for ContinuousResourceVariable

Source§

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

Returns an expression representing the remainder.

Source§

type Output = ContinuousExpression

The resulting type after applying the % operator.
Source§

impl Rem<IntegerVariable> for ContinuousResourceVariable

Source§

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

Returns an expression representing the remainder.

Source§

type Output = ContinuousExpression

The resulting type after applying the % operator.
Source§

impl Rem<f64> for ContinuousResourceVariable

Source§

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

Returns an expression representing the remainder.

Source§

type Output = ContinuousExpression

The resulting type after applying the % operator.
Source§

impl Rem<i32> for ContinuousResourceVariable

Source§

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

Returns an expression representing the remainder.

Source§

type Output = ContinuousExpression

The resulting type after applying the % operator.
Source§

impl Rem for ContinuousResourceVariable

Source§

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

Returns an expression representing the remainder.

Source§

type Output = ContinuousExpression

The resulting type after applying the % operator.
Source§

impl Sub<ContinuousExpression> for ContinuousResourceVariable

Source§

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

Returns an expression representing the subtraction.

Source§

type Output = ContinuousExpression

The resulting type after applying the - operator.
Source§

impl Sub<ContinuousResourceVariable> for ContinuousExpression

Source§

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

Returns an expression representing the subtraction.

Source§

type Output = ContinuousExpression

The resulting type after applying the - operator.
Source§

impl Sub<ContinuousResourceVariable> for ContinuousVariable

Source§

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

Returns an expression representing the subtraction.

Source§

type Output = ContinuousExpression

The resulting type after applying the - operator.
Source§

impl Sub<ContinuousResourceVariable> for IntegerExpression

Source§

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

Returns an expression representing the subtraction.

Source§

type Output = ContinuousExpression

The resulting type after applying the - operator.
Source§

impl Sub<ContinuousResourceVariable> for IntegerResourceVariable

Source§

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

Returns an expression representing the subtraction.

Source§

type Output = ContinuousExpression

The resulting type after applying the - operator.
Source§

impl Sub<ContinuousResourceVariable> for IntegerVariable

Source§

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

Returns an expression representing the subtraction.

Source§

type Output = ContinuousExpression

The resulting type after applying the - operator.
Source§

impl Sub<ContinuousResourceVariable> for Continuous

Source§

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

Returns an expression representing the subtraction.

Source§

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.

Source§

type Output = ContinuousExpression

The resulting type after applying the - operator.
Source§

impl Sub<ContinuousVariable> for ContinuousResourceVariable

Source§

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

Returns an expression representing the subtraction.

Source§

type Output = ContinuousExpression

The resulting type after applying the - operator.
Source§

impl Sub<IntegerExpression> for ContinuousResourceVariable

Source§

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

Returns an expression representing the subtraction.

Source§

type Output = ContinuousExpression

The resulting type after applying the - operator.
Source§

impl Sub<IntegerResourceVariable> for ContinuousResourceVariable

Source§

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

Returns an expression representing the subtraction.

Source§

type Output = ContinuousExpression

The resulting type after applying the - operator.
Source§

impl Sub<IntegerVariable> for ContinuousResourceVariable

Source§

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

Returns an expression representing the subtraction.

Source§

type Output = ContinuousExpression

The resulting type after applying the - operator.
Source§

impl Sub<f64> for ContinuousResourceVariable

Source§

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

Returns an expression representing the subtraction.

Source§

type Output = ContinuousExpression

The resulting type after applying the - operator.
Source§

impl Sub<i32> for ContinuousResourceVariable

Source§

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

Returns an expression representing the subtraction.

Source§

type Output = ContinuousExpression

The resulting type after applying the - operator.
Source§

impl Sub for ContinuousResourceVariable

Source§

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

Returns an expression representing the subtraction.

Source§

type Output = ContinuousExpression

The resulting type after applying the - operator.
Source§

impl Copy for ContinuousResourceVariable

Source§

impl Eq for ContinuousResourceVariable

Source§

impl StructuralPartialEq for ContinuousResourceVariable

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T, Rhs, Output> NumOps<Rhs, Output> for T
where T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,