[][src]Struct leo_gadgets::signed_integer::int_impl::Int16

pub struct Int16 {
    pub bits: Vec<Boolean>,
    pub value: Option<i16>,
}

Fields

bits: Vec<Boolean>value: Option<i16>

Implementations

impl Int16[src]

pub fn constant(value: i16) -> Self[src]

Trait Implementations

impl<F: PrimeField> Add<F, Int16> for Int16[src]

type ErrorType = SignedIntegerError

impl<F: Field> AllocGadget<<Int16 as Int>::IntegerType, F> for Int16[src]

impl Clone for Int16[src]

impl<F: PrimeField> ComparatorGadget<F> for Int16[src]

impl<F: PrimeField> CondSelectGadget<F> for Int16[src]

impl<F: PrimeField> ConditionalEqGadget<F> for Int16[src]

impl Debug for Int16[src]

impl<F: PrimeField> Div<F, Int16> for Int16[src]

type ErrorType = SignedIntegerError

impl Eq for Int16[src]

impl<F: PrimeField> EvaluateEqGadget<F> for Int16[src]

impl<F: PrimeField> EvaluateLtGadget<F> for Int16[src]

impl Int for Int16[src]

type IntegerType = i16

impl<F: PrimeField> Mul<F, Int16> for Int16[src]

Bitwise multiplication of two signed integer objects.

type ErrorType = SignedIntegerError

impl<F: PrimeField> Neg<F> for Int16[src]

type ErrorType = SignedIntegerError

impl PartialEq<Int16> for Int16[src]

impl PartialOrd<Int16> for Int16[src]

impl<F: PrimeField> Pow<F, Int16> for Int16[src]

type ErrorType = SignedIntegerError

impl<F: Field + PrimeField> RippleCarryAdder<F, Int16> for Int16[src]

impl<F: PrimeField> Sub<F, Int16> for Int16[src]

type ErrorType = SignedIntegerError

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<F, T> ConditionalOrEqualsGadget<F> for T where
    F: Field,
    T: ConditionalEqGadget<F> + CondSelectGadget<F>, 
[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<F, T> OrEqualsGadget<F> for T where
    F: Field,
    T: ConditionalOrEqualsGadget<F>, 
[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.

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