[][src]Enum rustnomial::terms::Term

pub enum Term<N> {
    ZeroTerm,
    Term(N, usize),
}

Variants

ZeroTerm
Term(N, usize)

Implementations

impl<N: Zero> Term<N>[src]

pub fn new(coeff: N, deg: usize) -> Term<N>[src]

Trait Implementations

impl<N: Clone> Clone for Term<N>[src]

impl<N: Debug> Debug for Term<N>[src]

impl<N> FromStr for Term<N> where
    N: Zero + One + FromStr + Copy
[src]

type Err = TermFromStringError

The associated error which can be returned from parsing.

impl<N: PartialEq> PartialEq<Term<N>> for Term<N>[src]

impl<N> StructuralPartialEq for Term<N>[src]

Auto Trait Implementations

impl<N> RefUnwindSafe for Term<N> where
    N: RefUnwindSafe
[src]

impl<N> Send for Term<N> where
    N: Send
[src]

impl<N> Sync for Term<N> where
    N: Sync
[src]

impl<N> Unpin for Term<N> where
    N: Unpin
[src]

impl<N> UnwindSafe for Term<N> where
    N: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.