Skip to main content

Term

Struct Term 

Source
pub struct Term<Coeff, Var>(/* private fields */);

Trait Implementations§

Source§

impl<Coeff1, Var1, Coeff2, Var2> DynMax<Term<Coeff2, Var2>> for Term<Coeff1, Var1>
where (Coeff1, Coeff2): Max, Var1: DynMax<Var2>,

Source§

type Out = Term<<(Coeff1, Coeff2) as Max>::Out, <Var1 as DynMax<Var2>>::Out>

Source§

impl<Coeff1, Var1, U, B> DynMax<UInt<U, B>> for Term<Coeff1, Var1>

Source§

type Out = Term<Coeff1, Var1>

Source§

impl<Coeff1, Var1, Coeff2, Var2> DynMul<Term<Coeff2, Var2>> for Term<Coeff1, Var1>
where (Coeff1, Coeff2): Mul, Var1: DynMul<Var2>,

Source§

type Out = Term<<(Coeff1, Coeff2) as Mul>::Out, <Var1 as DynMul<Var2>>::Out>

Source§

impl<Coeff, Var, U, B> DynMul<UInt<U, B>> for Term<Coeff, Var>
where (Coeff, UInt<U, B>): Mul,

Source§

type Out = Term<<(Coeff, UInt<U, B>) as Mul>::Out, Var>

Source§

impl<Coeff, Var> Dynamic for Term<Coeff, Var>
where Coeff: DecimalDiagnostic,

Source§

type Label = (<Coeff as DecimalDiagnostic>::Out, Var)

Source§

impl<Coeff, Var> IsDynEqual<Any> for Term<Coeff, Var>

Source§

impl<Coeff1, Var1, Coeff2, Var2> IsDynEqual<Term<Coeff2, Var2>> for Term<Coeff1, Var1>
where (Coeff1, Coeff2): IsEqual, Var1: IsDynEqual<Var2>, (<(Coeff1, Coeff2) as IsEqual>::Out, <Var1 as IsDynEqual<Var2>>::Out): And,

Source§

type Out = <(<(Coeff1, Coeff2) as IsEqual>::Out, <Var1 as IsDynEqual<Var2>>::Out) as And>::Out

Source§

impl<Coeff, Var, U, B> IsDynEqual<UInt<U, B>> for Term<Coeff, Var>

Source§

impl<Coeff, Var, T> IsDynGreater<T> for Term<Coeff, Var>

Source§

impl<Coeff, Var, T> IsDynLess<T> for Term<Coeff, Var>

Auto Trait Implementations§

§

impl<Coeff, Var> Freeze for Term<Coeff, Var>

§

impl<Coeff, Var> RefUnwindSafe for Term<Coeff, Var>
where Coeff: RefUnwindSafe, Var: RefUnwindSafe,

§

impl<Coeff, Var> Send for Term<Coeff, Var>
where Coeff: Send, Var: Send,

§

impl<Coeff, Var> Sync for Term<Coeff, Var>
where Coeff: Sync, Var: Sync,

§

impl<Coeff, Var> Unpin for Term<Coeff, Var>
where Coeff: Unpin, Var: Unpin,

§

impl<Coeff, Var> UnsafeUnpin for Term<Coeff, Var>

§

impl<Coeff, Var> UnwindSafe for Term<Coeff, Var>
where Coeff: UnwindSafe, Var: UnwindSafe,

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> 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> Pure<T> for T

Source§

type Out = List<(T, List<()>)>

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
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.