[−][src]Struct snarkos_gadgets::algorithms::encryption::group::GroupEncryptionPrivateKeyGadget
Group encryption private key gadget
Trait Implementations
impl<G: Group, F: PrimeField> AllocGadget<<G as Group>::ScalarField, F> for GroupEncryptionPrivateKeyGadget<G>
[src]
fn alloc<Fn: FnOnce() -> Result<T, SynthesisError>, T: Borrow<G::ScalarField>, CS: ConstraintSystem<F>>(
cs: CS,
value_gen: Fn
) -> Result<Self, SynthesisError>
[src]
cs: CS,
value_gen: Fn
) -> Result<Self, SynthesisError>
fn alloc_input<Fn: FnOnce() -> Result<T, SynthesisError>, T: Borrow<G::ScalarField>, CS: ConstraintSystem<F>>(
cs: CS,
value_gen: Fn
) -> Result<Self, SynthesisError>
[src]
cs: CS,
value_gen: Fn
) -> Result<Self, SynthesisError>
fn alloc_checked<Fn, T, CS>(cs: CS, f: Fn) -> Result<Self, SynthesisError> where
CS: ConstraintSystem<F>,
Fn: FnOnce() -> Result<T, SynthesisError>,
T: Borrow<V>,
[src]
CS: ConstraintSystem<F>,
Fn: FnOnce() -> Result<T, SynthesisError>,
T: Borrow<V>,
fn alloc_input_checked<Fn, T, CS>(cs: CS, f: Fn) -> Result<Self, SynthesisError> where
CS: ConstraintSystem<F>,
Fn: FnOnce() -> Result<T, SynthesisError>,
T: Borrow<V>,
[src]
CS: ConstraintSystem<F>,
Fn: FnOnce() -> Result<T, SynthesisError>,
T: Borrow<V>,
impl<G: Clone + Group> Clone for GroupEncryptionPrivateKeyGadget<G>
[src]
fn clone(&self) -> GroupEncryptionPrivateKeyGadget<G>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<G: Debug + Group> Debug for GroupEncryptionPrivateKeyGadget<G>
[src]
impl<G: Eq + Group> Eq for GroupEncryptionPrivateKeyGadget<G>
[src]
impl<G: PartialEq + Group> PartialEq<GroupEncryptionPrivateKeyGadget<G>> for GroupEncryptionPrivateKeyGadget<G>
[src]
fn eq(&self, other: &GroupEncryptionPrivateKeyGadget<G>) -> bool
[src]
fn ne(&self, other: &GroupEncryptionPrivateKeyGadget<G>) -> bool
[src]
impl<G: Group> StructuralEq for GroupEncryptionPrivateKeyGadget<G>
[src]
impl<G: Group> StructuralPartialEq for GroupEncryptionPrivateKeyGadget<G>
[src]
impl<G: Group, F: PrimeField> ToBytesGadget<F> for GroupEncryptionPrivateKeyGadget<G>
[src]
fn to_bytes<CS: ConstraintSystem<F>>(
&self,
cs: CS
) -> Result<Vec<UInt8>, SynthesisError>
[src]
&self,
cs: CS
) -> Result<Vec<UInt8>, SynthesisError>
fn to_bytes_strict<CS: ConstraintSystem<F>>(
&self,
cs: CS
) -> Result<Vec<UInt8>, SynthesisError>
[src]
&self,
cs: CS
) -> Result<Vec<UInt8>, SynthesisError>
Auto Trait Implementations
impl<G> RefUnwindSafe for GroupEncryptionPrivateKeyGadget<G> where
G: RefUnwindSafe,
G: RefUnwindSafe,
impl<G> Send for GroupEncryptionPrivateKeyGadget<G>
impl<G> Sync for GroupEncryptionPrivateKeyGadget<G>
impl<G> Unpin for GroupEncryptionPrivateKeyGadget<G> where
G: Unpin,
G: Unpin,
impl<G> UnwindSafe for GroupEncryptionPrivateKeyGadget<G> where
G: UnwindSafe,
G: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,