pub struct LpInteger { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<'a> Add<&'a LpInteger> for f32
impl<'a> Add<&'a LpInteger> for f32
Source§type Output = LpExpression
type Output = LpExpression
The resulting type after applying the
+ operator.Source§impl<'a> Add<&'a LpInteger> for i32
impl<'a> Add<&'a LpInteger> for i32
Source§type Output = LpExpression
type Output = LpExpression
The resulting type after applying the
+ operator.Source§impl Add<LpInteger> for f32
impl Add<LpInteger> for f32
Source§type Output = LpExpression
type Output = LpExpression
The resulting type after applying the
+ operator.Source§impl Add<LpInteger> for i32
impl Add<LpInteger> for i32
Source§type Output = LpExpression
type Output = LpExpression
The resulting type after applying the
+ operator.Source§impl<'a, T> Add<T> for &'a LpInteger
impl<'a, T> Add<T> for &'a LpInteger
Source§type Output = LpExpression
type Output = LpExpression
The resulting type after applying the
+ operator.Source§fn add(self, not_yet_lp_expr_arena: T) -> LpExpression
fn add(self, not_yet_lp_expr_arena: T) -> LpExpression
Performs the
+ operation. Read moreSource§impl<T> Add<T> for LpInteger
impl<T> Add<T> for LpInteger
Source§type Output = LpExpression
type Output = LpExpression
The resulting type after applying the
+ operator.Source§fn add(self, not_yet_lp_expr_arena: T) -> LpExpression
fn add(self, not_yet_lp_expr_arena: T) -> LpExpression
Performs the
+ operation. Read moreSource§impl BoundableLp for LpInteger
impl BoundableLp for LpInteger
fn lower_bound(&self, lw: f32) -> LpInteger
fn upper_bound(&self, up: f32) -> LpInteger
Source§impl<'a> From<&'a LpInteger> for LpExpression
impl<'a> From<&'a LpInteger> for LpExpression
Source§impl From<LpInteger> for LpExpression
impl From<LpInteger> for LpExpression
Source§impl<'a> Mul<&'a LpInteger> for f32
impl<'a> Mul<&'a LpInteger> for f32
Source§type Output = LpExpression
type Output = LpExpression
The resulting type after applying the
* operator.Source§impl<'a> Mul<&'a LpInteger> for i32
impl<'a> Mul<&'a LpInteger> for i32
Source§type Output = LpExpression
type Output = LpExpression
The resulting type after applying the
* operator.Source§impl Mul<LpInteger> for f32
impl Mul<LpInteger> for f32
Source§type Output = LpExpression
type Output = LpExpression
The resulting type after applying the
* operator.Source§impl Mul<LpInteger> for i32
impl Mul<LpInteger> for i32
Source§type Output = LpExpression
type Output = LpExpression
The resulting type after applying the
* operator.Source§impl<'a, T> Mul<T> for &'a LpInteger
impl<'a, T> Mul<T> for &'a LpInteger
Source§type Output = LpExpression
type Output = LpExpression
The resulting type after applying the
* operator.Source§fn mul(self, not_yet_lp_expr_arena: T) -> LpExpression
fn mul(self, not_yet_lp_expr_arena: T) -> LpExpression
Performs the
* operation. Read moreSource§impl<T> Mul<T> for LpInteger
impl<T> Mul<T> for LpInteger
Source§type Output = LpExpression
type Output = LpExpression
The resulting type after applying the
* operator.Source§fn mul(self, not_yet_lp_expr_arena: T) -> LpExpression
fn mul(self, not_yet_lp_expr_arena: T) -> LpExpression
Performs the
* operation. Read moreSource§impl<'a> Neg for &'a LpInteger
impl<'a> Neg for &'a LpInteger
Source§type Output = LpExpression
type Output = LpExpression
The resulting type after applying the
- operator.Source§fn neg(self) -> LpExpression
fn neg(self) -> LpExpression
Performs the unary
- operation. Read moreSource§impl<'a> Sub<&'a LpInteger> for f32
impl<'a> Sub<&'a LpInteger> for f32
Source§type Output = LpExpression
type Output = LpExpression
The resulting type after applying the
- operator.Source§impl<'a> Sub<&'a LpInteger> for i32
impl<'a> Sub<&'a LpInteger> for i32
Source§type Output = LpExpression
type Output = LpExpression
The resulting type after applying the
- operator.Source§impl Sub<LpInteger> for f32
impl Sub<LpInteger> for f32
Source§type Output = LpExpression
type Output = LpExpression
The resulting type after applying the
- operator.Source§impl Sub<LpInteger> for i32
impl Sub<LpInteger> for i32
Source§type Output = LpExpression
type Output = LpExpression
The resulting type after applying the
- operator.Source§impl<'a, T> Sub<T> for &'a LpInteger
impl<'a, T> Sub<T> for &'a LpInteger
Source§type Output = LpExpression
type Output = LpExpression
The resulting type after applying the
- operator.Source§fn sub(self, not_yet_lp_expr_arena: T) -> LpExpression
fn sub(self, not_yet_lp_expr_arena: T) -> LpExpression
Performs the
- operation. Read moreSource§impl<T> Sub<T> for LpInteger
impl<T> Sub<T> for LpInteger
Source§type Output = LpExpression
type Output = LpExpression
The resulting type after applying the
- operator.Source§fn sub(self, not_yet_lp_expr_arena: T) -> LpExpression
fn sub(self, not_yet_lp_expr_arena: T) -> LpExpression
Performs the
- operation. Read moreSource§impl ToTokens for LpInteger
impl ToTokens for LpInteger
Source§fn to_tokens(&self, stream: &mut TokenStream)
fn to_tokens(&self, stream: &mut TokenStream)
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl StructuralPartialEq for LpInteger
Auto Trait Implementations§
impl Freeze for LpInteger
impl RefUnwindSafe for LpInteger
impl Send for LpInteger
impl Sync for LpInteger
impl Unpin for LpInteger
impl UnwindSafe for LpInteger
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> LpOperations<T> for U
impl<T, U> LpOperations<T> for U
Source§fn le(&self, lhs_expr: T) -> LpConstraint
fn le(&self, lhs_expr: T) -> LpConstraint
Less or equal binary syntax for LpExpression
Source§fn ge(&self, lhs_expr: T) -> LpConstraint
fn ge(&self, lhs_expr: T) -> LpConstraint
Greater or equal binary syntax for LpExpression
Source§fn equal(&self, lhs_expr: T) -> LpConstraint
fn equal(&self, lhs_expr: T) -> LpConstraint
Equality binary syntax for LpExpression