[][src]Struct sapling_crypto_ce::primitives::ValueCommitment

pub struct ValueCommitment<E: JubjubEngine> {
    pub value: u64,
    pub randomness: E::Fs,
}

Fields

value: u64randomness: E::Fs

Implementations

impl<E: JubjubEngine> ValueCommitment<E>[src]

pub fn cm(&self, params: &E::Params) -> Point<E, PrimeOrder>[src]

Trait Implementations

impl<E: Clone + JubjubEngine> Clone for ValueCommitment<E> where
    E::Fs: Clone
[src]

Auto Trait Implementations

impl<E> RefUnwindSafe for ValueCommitment<E> where
    <E as JubjubEngine>::Fs: RefUnwindSafe

impl<E> Send for ValueCommitment<E> where
    <E as JubjubEngine>::Fs: Send

impl<E> Sync for ValueCommitment<E> where
    <E as JubjubEngine>::Fs: Sync

impl<E> Unpin for ValueCommitment<E> where
    <E as JubjubEngine>::Fs: Unpin

impl<E> UnwindSafe for ValueCommitment<E> where
    <E as JubjubEngine>::Fs: UnwindSafe

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