[][src]Struct wagyu_zcash::librustzcash::sapling_crypto::primitives::ViewingKey

pub struct ViewingKey<E: JubjubEngine> {
    pub ak: Point<E, PrimeOrder>,
    pub nk: Point<E, PrimeOrder>,
}

Fields

ak: Point<E, PrimeOrder>nk: Point<E, PrimeOrder>

Methods

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

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

pub fn ivk(&self) -> E::Fs[src]

pub fn into_payment_address(
    &self,
    diversifier: Diversifier,
    params: &E::Params
) -> Option<PaymentAddress<E>>
[src]

Trait Implementations

impl<E: Debug + JubjubEngine> Debug for ViewingKey<E>[src]

Auto Trait Implementations

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

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

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

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

impl<E> UnwindSafe for ViewingKey<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, 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>,