[][src]Struct r1cs::ElementMatrix

pub struct ElementMatrix<F: Field> { /* fields omitted */ }

A matrix of prime field elements.

Methods

impl<F: Field> ElementMatrix<F>[src]

pub fn new(rows: Vec<Vec<Element<F>>>) -> Self[src]

Trait Implementations

impl<F: Field> Clone for ElementMatrix<F>[src]

impl<'_, '_, F: Field> Mul<&'_ [Element<F>]> for &'_ ElementMatrix<F>[src]

type Output = Vec<Element<F>>

The resulting type after applying the * operator.

impl<'_, '_, F: Field> Mul<&'_ [Expression<F>]> for &'_ ElementMatrix<F>[src]

type Output = Vec<Expression<F>>

The resulting type after applying the * operator.

impl<'_, F: Field> Mul<&'_ [Element<F>]> for ElementMatrix<F>[src]

type Output = Vec<Element<F>>

The resulting type after applying the * operator.

impl<'_, F: Field> Mul<&'_ [Expression<F>]> for ElementMatrix<F>[src]

type Output = Vec<Expression<F>>

The resulting type after applying the * operator.

Auto Trait Implementations

impl<F> !Send for ElementMatrix<F>

impl<F> !Sync for ElementMatrix<F>

impl<F> Unpin for ElementMatrix<F>

impl<F> UnwindSafe for ElementMatrix<F> where
    F: RefUnwindSafe

impl<F> RefUnwindSafe for ElementMatrix<F> where
    F: RefUnwindSafe

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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