Struct snarkvm_algorithms::encryption::group::GroupEncryptionPublicKey[][src]

pub struct GroupEncryptionPublicKey<G: Group + ProjectiveCurve>(pub G);

Trait Implementations

impl<G: Clone + Group + ProjectiveCurve> Clone for GroupEncryptionPublicKey<G>[src]

impl<G: Debug + Group + ProjectiveCurve> Debug for GroupEncryptionPublicKey<G>[src]

impl<G: Group + ProjectiveCurve> Default for GroupEncryptionPublicKey<G>[src]

impl<G: Eq + Group + ProjectiveCurve> Eq for GroupEncryptionPublicKey<G>[src]

impl<G: Group + ProjectiveCurve> FromBytes for GroupEncryptionPublicKey<G>[src]

fn read<R: Read>(mut reader: R) -> IoResult<Self>[src]

Reads the x-coordinate of the encryption public key.

impl<G: Ord + Group + ProjectiveCurve> Ord for GroupEncryptionPublicKey<G>[src]

impl<G: PartialEq + Group + ProjectiveCurve> PartialEq<GroupEncryptionPublicKey<G>> for GroupEncryptionPublicKey<G>[src]

impl<G: PartialOrd + Group + ProjectiveCurve> PartialOrd<GroupEncryptionPublicKey<G>> for GroupEncryptionPublicKey<G>[src]

impl<G: Group + ProjectiveCurve> StructuralEq for GroupEncryptionPublicKey<G>[src]

impl<G: Group + ProjectiveCurve> StructuralPartialEq for GroupEncryptionPublicKey<G>[src]

impl<G: Group + ProjectiveCurve> ToBytes for GroupEncryptionPublicKey<G>[src]

fn write<W: Write>(&self, mut writer: W) -> IoResult<()>[src]

Writes the x-coordinate of the encryption public key.

Auto Trait Implementations

impl<G> RefUnwindSafe for GroupEncryptionPublicKey<G> where
    G: RefUnwindSafe
[src]

impl<G> Send for GroupEncryptionPublicKey<G>[src]

impl<G> Sync for GroupEncryptionPublicKey<G>[src]

impl<G> Unpin for GroupEncryptionPublicKey<G> where
    G: Unpin
[src]

impl<G> UnwindSafe for GroupEncryptionPublicKey<G> where
    G: UnwindSafe
[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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

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