pub struct Var<const X: char, I>(/* private fields */);Expand description
A univariate monomial X^d, where the variable symbol X is a const
generic and I is the exponent type (usize or isize).
Implementations§
Trait Implementations§
impl<const X: char, I: Copy> Copy for Var<X, I>
Source§impl<const X: char, I> DivAssign for Var<X, I>
impl<const X: char, I> DivAssign for Var<X, I>
Source§fn div_assign(&mut self, rhs: Var<X, I>)
fn div_assign(&mut self, rhs: Var<X, I>)
Performs the
/= operation. Read moreSource§impl<const X: char, I> DivAssign<&Var<X, I>> for Var<X, I>
impl<const X: char, I> DivAssign<&Var<X, I>> for Var<X, I>
Source§fn div_assign(&mut self, rhs: &Var<X, I>)
fn div_assign(&mut self, rhs: &Var<X, I>)
Performs the
/= operation. Read moreimpl<const X: char, I: Eq> Eq for Var<X, I>
impl<const X: char, I> LcKey for Var<X, I>where
I: IndexType + ToPrimitive,
Source§impl<const X: char, I> MathType for Var<X, I>where
I: IndexType + ToPrimitive,
impl<const X: char, I> MathType for Var<X, I>where
I: IndexType + ToPrimitive,
fn math_symbol() -> String
Source§impl<const X: char> Mono for Var<X, usize>
impl<const X: char> Mono for Var<X, usize>
Source§impl<const X: char> Mono for Var<X, isize>
impl<const X: char> Mono for Var<X, isize>
Source§impl<const X: char, I> MulAssign for Var<X, I>
impl<const X: char, I> MulAssign for Var<X, I>
Source§fn mul_assign(&mut self, rhs: Var<X, I>)
fn mul_assign(&mut self, rhs: Var<X, I>)
Performs the
*= operation. Read moreSource§impl<const X: char, I> MulAssign<&Var<X, I>> for Var<X, I>
impl<const X: char, I> MulAssign<&Var<X, I>> for Var<X, I>
Source§fn mul_assign(&mut self, rhs: &Var<X, I>)
fn mul_assign(&mut self, rhs: &Var<X, I>)
Performs the
*= operation. Read moreSource§impl<const X: char, I: Ord> Ord for Var<X, I>
impl<const X: char, I: Ord> Ord for Var<X, I>
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<const X: char, I: PartialOrd> PartialOrd for Var<X, I>
impl<const X: char, I: PartialOrd> PartialOrd for Var<X, I>
impl<const X: char, I: PartialEq> StructuralPartialEq for Var<X, I>
Source§impl<const X: char, I> TeX for Var<X, I>where
I: ToPrimitive,
impl<const X: char, I> TeX for Var<X, I>where
I: ToPrimitive,
fn tex_math_symbol() -> String
fn tex_string(&self) -> String
Auto Trait Implementations§
impl<const X: char, I> Freeze for Var<X, I>where
I: Freeze,
impl<const X: char, I> RefUnwindSafe for Var<X, I>where
I: RefUnwindSafe,
impl<const X: char, I> Send for Var<X, I>where
I: Send,
impl<const X: char, I> Sync for Var<X, I>where
I: Sync,
impl<const X: char, I> Unpin for Var<X, I>where
I: Unpin,
impl<const X: char, I> UnsafeUnpin for Var<X, I>where
I: UnsafeUnpin,
impl<const X: char, I> UnwindSafe for Var<X, I>where
I: UnwindSafe,
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> IndexType for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more