[]Struct neptune::Scalar

pub struct Scalar(_);

Trait Implementations

impl BaseFromRO for Fr

type BaseLength = UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>

impl Clone for Fr

impl Copy for Fr

impl Debug for Fr

impl Display for Fr

impl Eq for Fr

impl Field for Fr

pub fn random<R>(rng: &mut R) -> Fr where
    R: RngCore

Computes a uniformly random element using rejection sampling.

impl Ord for Fr

Elements are ordered lexicographically.

impl PartialEq<Fr> for Fr

impl PartialOrd<Fr> for Fr

impl PrimeField for Fr

type Repr = FrRepr

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

impl SqrtField for Fr

Auto Trait Implementations

impl RefUnwindSafe for Fr[src]

impl Send for Fr[src]

impl Sync for Fr[src]

impl Unpin for Fr[src]

impl UnwindSafe for Fr[src]

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> FromRO for T where
    T: BaseFromRO, 

type Length = <T as BaseFromRO>::BaseLength

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>,