Enum snarkvm_polycommit::data_structures::LCTerm[][src]

pub enum LCTerm {
    One,
    PolyLabel(String),
}

A term in a linear combination.

Variants

One

The constant term representing one.

PolyLabel(String)

Label for a polynomial.

Implementations

impl LCTerm[src]

pub fn is_one(&self) -> bool[src]

Returns true if self == LCTerm::One

Trait Implementations

impl Clone for LCTerm[src]

impl Debug for LCTerm[src]

impl Eq for LCTerm[src]

impl<'a> From<&'a str> for LCTerm[src]

impl From<String> for LCTerm[src]

impl Hash for LCTerm[src]

impl Ord for LCTerm[src]

impl<B: Borrow<String>> PartialEq<B> for LCTerm[src]

impl PartialEq<LCTerm> for LCTerm[src]

impl PartialOrd<LCTerm> for LCTerm[src]

impl StructuralEq for LCTerm[src]

impl StructuralPartialEq for LCTerm[src]

impl<'a> TryInto<&'a String> for &'a LCTerm[src]

type Error = ()

The type returned in the event of a conversion error.

impl TryInto<String> for LCTerm[src]

type Error = ()

The type returned in the event of a conversion error.

Auto Trait Implementations

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,