pub struct Variable(pub &'static str);
Expand description
A generic variable that can be created with a &'static str
.
Tuple Fields
0: &'static str
Trait Implementations
sourceimpl Add<Expression<Variable>> for Variable
impl Add<Expression<Variable>> for Variable
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the +
operator.
sourcefn add(self, e: Expression<Variable>) -> Expression<Variable>
fn add(self, e: Expression<Variable>) -> Expression<Variable>
Performs the +
operation. Read more
sourceimpl Add<Term<Variable>> for Variable
impl Add<Term<Variable>> for Variable
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the +
operator.
sourceimpl Add<Variable> for Expression<Variable>
impl Add<Variable> for Expression<Variable>
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the +
operator.
sourceimpl Add<Variable> for Term<Variable>
impl Add<Variable> for Term<Variable>
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the +
operator.
sourceimpl Add<Variable> for Variable
impl Add<Variable> for Variable
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the +
operator.
sourceimpl Add<Variable> for f32
impl Add<Variable> for f32
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the +
operator.
sourceimpl Add<Variable> for f64
impl Add<Variable> for f64
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the +
operator.
sourceimpl Add<Variable> for u32
impl Add<Variable> for u32
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the +
operator.
sourceimpl Add<f32> for Variable
impl Add<f32> for Variable
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the +
operator.
sourceimpl Add<f64> for Variable
impl Add<f64> for Variable
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the +
operator.
sourceimpl Add<u32> for Variable
impl Add<u32> for Variable
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the +
operator.
sourceimpl AddAssign<Variable> for Expression<Variable>
impl AddAssign<Variable> for Expression<Variable>
sourcefn add_assign(&mut self, v: Variable)
fn add_assign(&mut self, v: Variable)
Performs the +=
operation. Read more
sourceimpl Constrainable<Variable> for Variable
impl Constrainable<Variable> for Variable
fn equal_to<X>(self, x: X) -> Constraint<Variable> where
X: Into<Expression<Variable>> + Clone,
fn greater_than_or_equal_to<X>(self, x: X) -> Constraint<Variable> where
X: Into<Expression<Variable>> + Clone,
fn less_than_or_equal_to<X>(self, x: X) -> Constraint<Variable> where
X: Into<Expression<Variable>> + Clone,
fn is<X>(self, x: X) -> Constraint<Var> where
X: Into<Expression<Var>> + Clone,
fn is_ge<X>(self, x: X) -> Constraint<Var> where
X: Into<Expression<Var>> + Clone,
fn is_le<X>(self, x: X) -> Constraint<Var> where
X: Into<Expression<Var>> + Clone,
sourceimpl From<Variable> for Expression<Variable>
impl From<Variable> for Expression<Variable>
sourcefn from(v: Variable) -> Expression<Variable>
fn from(v: Variable) -> Expression<Variable>
Converts to this type from the input type.
sourceimpl PartialEq<Variable> for Variable
impl PartialEq<Variable> for Variable
sourceimpl Sub<Expression<Variable>> for Variable
impl Sub<Expression<Variable>> for Variable
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the -
operator.
sourcefn sub(self, e: Expression<Variable>) -> Expression<Variable>
fn sub(self, e: Expression<Variable>) -> Expression<Variable>
Performs the -
operation. Read more
sourceimpl Sub<Term<Variable>> for Variable
impl Sub<Term<Variable>> for Variable
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the -
operator.
sourceimpl Sub<Variable> for Expression<Variable>
impl Sub<Variable> for Expression<Variable>
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the -
operator.
sourceimpl Sub<Variable> for Term<Variable>
impl Sub<Variable> for Term<Variable>
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the -
operator.
sourceimpl Sub<Variable> for Variable
impl Sub<Variable> for Variable
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the -
operator.
sourceimpl Sub<Variable> for f32
impl Sub<Variable> for f32
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the -
operator.
sourceimpl Sub<Variable> for f64
impl Sub<Variable> for f64
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the -
operator.
sourceimpl Sub<Variable> for u32
impl Sub<Variable> for u32
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the -
operator.
sourceimpl Sub<f32> for Variable
impl Sub<f32> for Variable
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the -
operator.
sourceimpl Sub<f64> for Variable
impl Sub<f64> for Variable
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the -
operator.
sourceimpl Sub<u32> for Variable
impl Sub<u32> for Variable
type Output = Expression<Variable>
type Output = Expression<Variable>
The resulting type after applying the -
operator.
sourceimpl SubAssign<Variable> for Expression<Variable>
impl SubAssign<Variable> for Expression<Variable>
sourcefn sub_assign(&mut self, v: Variable)
fn sub_assign(&mut self, v: Variable)
Performs the -=
operation. Read more
impl Copy for Variable
impl Eq for Variable
impl StructuralEq for Variable
impl StructuralPartialEq for Variable
Auto Trait Implementations
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnwindSafe for Variable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more