Trait snarkvm_wasm::traits::utilities::arithmetic::mul::Mul[][src]

pub trait Mul<F, Rhs = Self> where
    F: Field
{ type ErrorType; pub fn mul<CS>(&self, cs: CS, other: &Self) -> Result<Self, Self::ErrorType>
    where
        CS: ConstraintSystem<F>
; }

Returns multiplication of self * other in the constraint system.

Associated Types

Loading content...

Required methods

pub fn mul<CS>(&self, cs: CS, other: &Self) -> Result<Self, Self::ErrorType> where
    CS: ConstraintSystem<F>, 
[src]

Loading content...

Implementors

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

Bitwise multiplication of two signed integer objects.

type ErrorType = SignedIntegerError

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

Bitwise multiplication of two signed integer objects.

type ErrorType = SignedIntegerError

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

Bitwise multiplication of two signed integer objects.

type ErrorType = SignedIntegerError

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

Bitwise multiplication of two signed integer objects.

type ErrorType = SignedIntegerError

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

Bitwise multiplication of two signed integer objects.

type ErrorType = SignedIntegerError

Loading content...