Struct good_lp::variable::Variable [−][src]
A variable in a problem
Trait Implementations
impl<F, RHS: Into<Expression<F>>> Add<RHS> for Variable<F>
[src]
type Output = Expression<F>
The resulting type after applying the +
operator.
fn add(self, rhs: RHS) -> Self::Output
[src]
impl<F> Clone for Variable<F>
[src]
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<F> Copy for Variable<F>
[src]
impl<T: Debug> Debug for Variable<T>
[src]
impl<T: Default> Default for Variable<T>
[src]
impl<F> Div<f64> for Variable<F>
[src]
type Output = Expression<F>
The resulting type after applying the /
operator.
fn div(self, rhs: f64) -> Self::Output
[src]
impl<F> Div<i32> for Variable<F>
[src]
type Output = Expression<F>
The resulting type after applying the /
operator.
fn div(self, rhs: i32) -> Self::Output
[src]
impl<F> Eq for Variable<F>
[src]
impl<'a, F> From<&'a Variable<F>> for Expression<F>
[src]
impl<F> From<Variable<F>> for Expression<F>
[src]
impl<F> Hash for Variable<F>
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<F, N: Into<f64>> Mul<N> for Variable<F>
[src]
type Output = Expression<F>
The resulting type after applying the *
operator.
fn mul(self, rhs: N) -> Self::Output
[src]
impl<F> PartialEq<Variable<F>> for Variable<F>
[src]
impl<F, RHS: Into<Expression<F>>> Shl<RHS> for Variable<F>
[src]
type Output = Constraint<F>
The resulting type after applying the <<
operator.
fn shl(self, rhs: RHS) -> Self::Output
[src]
impl<F, RHS: Into<Expression<F>>> Shr<RHS> for Variable<F>
[src]
type Output = Constraint<F>
The resulting type after applying the >>
operator.
fn shr(self, rhs: RHS) -> Self::Output
[src]
impl<F, RHS: Into<Expression<F>>> Sub<RHS> for Variable<F>
[src]
type Output = Expression<F>
The resulting type after applying the -
operator.
fn sub(self, rhs: RHS) -> Self::Output
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Variable<T> where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T> Send for Variable<T> where
T: Send,
[src]
T: Send,
impl<T> Sync for Variable<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for Variable<T> where
T: Unpin,
[src]
T: Unpin,
impl<T> UnwindSafe for Variable<T> where
T: UnwindSafe,
[src]
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,