Type Alias dypdl::variable_type::Element

source ·
pub type Element = usize;
Expand description

Element value.

Trait Implementations§

source§

impl Add<ElementExpression> for Element

source§

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

Returns an expression representing the addition.

§

type Output = ElementExpression

The resulting type after applying the + operator.
source§

impl Add<ElementResourceVariable> for Element

source§

fn add(self, rhs: ElementResourceVariable) -> ElementExpression

Returns an expression representing the addition.

§

type Output = ElementExpression

The resulting type after applying the + operator.
source§

impl Add<ElementVariable> for Element

source§

fn add(self, rhs: ElementVariable) -> ElementExpression

Returns an expression representing the addition.

§

type Output = ElementExpression

The resulting type after applying the + operator.
source§

impl Div<ElementExpression> for Element

source§

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

Returns an expression representing the division.

§

type Output = ElementExpression

The resulting type after applying the / operator.
source§

impl Div<ElementResourceVariable> for Element

source§

fn div(self, rhs: ElementResourceVariable) -> ElementExpression

Returns an expression representing the division.

§

type Output = ElementExpression

The resulting type after applying the / operator.
source§

impl Div<ElementVariable> for Element

source§

fn div(self, rhs: ElementVariable) -> ElementExpression

Returns an expression representing the division.

§

type Output = ElementExpression

The resulting type after applying the / operator.
source§

impl MaxMin<ElementExpression> for Element

§

type Output = ElementExpression

source§

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

Returns an expression representing the maximum.
source§

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

Returns an expression representing the minimum.
source§

impl MaxMin<ElementResourceVariable> for Element

§

type Output = ElementExpression

source§

fn max(self, rhs: ElementResourceVariable) -> ElementExpression

Returns an expression representing the maximum.
source§

fn min(self, rhs: ElementResourceVariable) -> ElementExpression

Returns an expression representing the minimum.
source§

impl MaxMin<ElementVariable> for Element

§

type Output = ElementExpression

source§

fn max(self, rhs: ElementVariable) -> ElementExpression

Returns an expression representing the maximum.
source§

fn min(self, rhs: ElementVariable) -> ElementExpression

Returns an expression representing the minimum.
source§

impl Mul<ElementExpression> for Element

source§

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

Returns an expression representing the multiplication.

§

type Output = ElementExpression

The resulting type after applying the * operator.
source§

impl Mul<ElementResourceVariable> for Element

source§

fn mul(self, rhs: ElementResourceVariable) -> ElementExpression

Returns an expression representing the multiplication.

§

type Output = ElementExpression

The resulting type after applying the * operator.
source§

impl Mul<ElementVariable> for Element

source§

fn mul(self, rhs: ElementVariable) -> ElementExpression

Returns an expression representing the multiplication.

§

type Output = ElementExpression

The resulting type after applying the * operator.
source§

impl Rem<ElementExpression> for Element

source§

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

Returns an expression representing the remainder.

§

type Output = ElementExpression

The resulting type after applying the % operator.
source§

impl Rem<ElementResourceVariable> for Element

source§

fn rem(self, rhs: ElementResourceVariable) -> ElementExpression

Returns an expression representing the remainder.

§

type Output = ElementExpression

The resulting type after applying the % operator.
source§

impl Rem<ElementVariable> for Element

source§

fn rem(self, rhs: ElementVariable) -> ElementExpression

Returns an expression representing the remainder.

§

type Output = ElementExpression

The resulting type after applying the % operator.
source§

impl Sub<ElementExpression> for Element

source§

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

Returns an expression representing the subtraction.

§

type Output = ElementExpression

The resulting type after applying the - operator.
source§

impl Sub<ElementResourceVariable> for Element

source§

fn sub(self, rhs: ElementResourceVariable) -> ElementExpression

Returns an expression representing the subtraction.

§

type Output = ElementExpression

The resulting type after applying the - operator.
source§

impl Sub<ElementVariable> for Element

source§

fn sub(self, rhs: ElementVariable) -> ElementExpression

Returns an expression representing the subtraction.

§

type Output = ElementExpression

The resulting type after applying the - operator.
source§

impl ToVariableString for Element