Struct vapcore_builtin::Bn128Pairing[][src]

pub struct Bn128Pairing;

The Bn128Pairing builtin

Trait Implementations

impl Debug for Bn128Pairing[src]

impl Implementation for Bn128Pairing[src]

fn execute(
    &self,
    input: &[u8],
    output: &mut BytesRef<'_>
) -> Result<(), &'static str>
[src]

Can fail if: - input length is not a multiple of 192 - any of odd points does not belong to bn128 curve - any of even points does not belong to the twisted bn128 curve over the field F_p^2 = F_p[i] / (i^2 + 1)

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<T> From<T> for T[src]

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

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,