[][src]Struct sapling_crypto_ce::primitives::PaymentAddress

pub struct PaymentAddress<E: JubjubEngine> {
    pub pk_d: Point<E, PrimeOrder>,
    pub diversifier: Diversifier,
}

Fields

pk_d: Point<E, PrimeOrder>diversifier: Diversifier

Implementations

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

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

pub fn create_note(
    &self,
    value: u64,
    randomness: E::Fs,
    params: &E::Params
) -> Option<Note<E>>
[src]

Trait Implementations

impl<E: Clone + JubjubEngine> Clone for PaymentAddress<E>[src]

Auto Trait Implementations

impl<E> RefUnwindSafe for PaymentAddress<E> where
    <E as ScalarEngine>::Fr: RefUnwindSafe

impl<E> Send for PaymentAddress<E> where
    <E as ScalarEngine>::Fr: Send

impl<E> Sync for PaymentAddress<E> where
    <E as ScalarEngine>::Fr: Sync

impl<E> Unpin for PaymentAddress<E> where
    <E as ScalarEngine>::Fr: Unpin

impl<E> UnwindSafe for PaymentAddress<E> where
    <E as ScalarEngine>::Fr: 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.