[][src]Struct sapling_crypto_ce::jubjub::fs::Fs

pub struct Fs(_);

This is an element of the scalar field of the Jubjub curve.

Trait Implementations

impl ToUniform for Fs[src]

fn to_uniform(digest: &[u8]) -> Self[src]

Convert a little endian byte string into a uniform field element. The number is reduced mod s. The caller is responsible for ensuring the input is 64 bytes of Random Oracle output.

fn to_uniform_32(digest: &[u8]) -> Self[src]

Convert a little endian byte string into a uniform field element. The number is reduced mod s. The caller is responsible for ensuring the input is 32 bytes of Random Oracle output.

impl From<Fs> for FsRepr[src]

impl Clone for Fs[src]

impl Copy for Fs[src]

impl Eq for Fs[src]

impl PartialEq<Fs> for Fs[src]

impl Display for Fs[src]

impl Debug for Fs[src]

impl StructuralPartialEq for Fs[src]

impl StructuralEq for Fs[src]

impl Field for Fs[src]

impl PrimeField for Fs[src]

type Repr = FsRepr

The prime field can be converted back and forth into this biginteger representation. Read more

impl SqrtField for Fs[src]

impl Rand for Fs[src]

Auto Trait Implementations

impl Send for Fs

impl Sync for Fs

impl Unpin for Fs

impl UnwindSafe for Fs

impl RefUnwindSafe for Fs

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> ToString for T where
    T: Display + ?Sized
[src]

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]

impl<T> Same<T> for T

type Output = T

Should always be Self