Struct snarkvm_wasm::marlin_pc::Randomness [−][src]
Randomness
hides the polynomial inside a commitment. It is output by KZG10::commit
.
Trait Implementations
impl<'a, E> Add<&'a Randomness<E>> for Randomness<E> where
E: PairingEngine,
[src]
E: PairingEngine,
type Output = Randomness<E>
The resulting type after applying the +
operator.
pub fn add(self, other: &'a Randomness<E>) -> Randomness<E>
[src]
impl<'a, E> Add<(<E as PairingEngine>::Fr, &'a Randomness<E>)> for Randomness<E> where
E: PairingEngine,
[src]
E: PairingEngine,
type Output = Randomness<E>
The resulting type after applying the +
operator.
pub fn add(
self,
other: (<E as PairingEngine>::Fr, &'a Randomness<E>)
) -> Randomness<E>
[src]
self,
other: (<E as PairingEngine>::Fr, &'a Randomness<E>)
) -> Randomness<E>
impl<'a, E> AddAssign<&'a Randomness<E>> for Randomness<E> where
E: PairingEngine,
[src]
E: PairingEngine,
pub fn add_assign(&mut self, other: &'a Randomness<E>)
[src]
impl<'a, E> AddAssign<(<E as PairingEngine>::Fr, &'a Randomness<E>)> for Randomness<E> where
E: PairingEngine,
[src]
E: PairingEngine,
pub fn add_assign(&mut self, (<E as PairingEngine>::Fr, &'a Randomness<E>))
[src]
impl<E> CanonicalDeserialize for Randomness<E> where
E: PairingEngine,
[src]
E: PairingEngine,
pub fn deserialize<R>(
reader: &mut R
) -> Result<Randomness<E>, SerializationError> where
R: Read,
[src]
reader: &mut R
) -> Result<Randomness<E>, SerializationError> where
R: Read,
pub fn deserialize_uncompressed<R>(
reader: &mut R
) -> Result<Randomness<E>, SerializationError> where
R: Read,
[src]
reader: &mut R
) -> Result<Randomness<E>, SerializationError> where
R: Read,
impl<E> CanonicalSerialize for Randomness<E> where
E: PairingEngine,
[src]
E: PairingEngine,
pub fn serialize<W>(&self, writer: &mut W) -> Result<(), SerializationError> where
W: Write,
[src]
W: Write,
pub fn serialized_size(&self) -> usize
[src]
pub fn serialize_uncompressed<W>(
&self,
writer: &mut W
) -> Result<(), SerializationError> where
W: Write,
[src]
&self,
writer: &mut W
) -> Result<(), SerializationError> where
W: Write,
pub fn uncompressed_size(&self) -> usize
[src]
impl<E> Clone for Randomness<E> where
E: PairingEngine,
[src]
E: PairingEngine,
pub fn clone(&self) -> Randomness<E>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<E> Debug for Randomness<E> where
E: PairingEngine,
[src]
E: PairingEngine,
impl<E> Default for Randomness<E> where
E: PairingEngine,
[src]
E: PairingEngine,
pub fn default() -> Randomness<E>
[src]
impl<E> Eq for Randomness<E> where
E: PairingEngine,
[src]
E: PairingEngine,
impl<E> FromBytes for Randomness<E> where
E: PairingEngine,
[src]
E: PairingEngine,
impl<E> Hash for Randomness<E> where
E: PairingEngine,
[src]
E: PairingEngine,
pub fn hash<__HE>(&self, __state: &mut __HE) where
__HE: Hasher,
[src]
__HE: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<E> PCRandomness for Randomness<E> where
E: PairingEngine,
[src]
E: PairingEngine,
pub fn empty() -> Randomness<E>
[src]
pub fn rand<R>(
hiding_bound: usize,
has_degree_bound: bool,
rng: &mut R
) -> Randomness<E> where
R: RngCore,
[src]
hiding_bound: usize,
has_degree_bound: bool,
rng: &mut R
) -> Randomness<E> where
R: RngCore,
impl<E> PartialEq<Randomness<E>> for Randomness<E> where
E: PairingEngine,
[src]
E: PairingEngine,
pub fn eq(&self, other: &Randomness<E>) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<E> ToBytes for Randomness<E> where
E: PairingEngine,
[src]
E: PairingEngine,
Auto Trait Implementations
impl<E> RefUnwindSafe for Randomness<E> where
<E as PairingEngine>::Fr: RefUnwindSafe,
<E as PairingEngine>::Fr: RefUnwindSafe,
impl<E> Send for Randomness<E>
impl<E> Sync for Randomness<E>
impl<E> Unpin for Randomness<E> where
<E as PairingEngine>::Fr: Unpin,
<E as PairingEngine>::Fr: Unpin,
impl<E> UnwindSafe for Randomness<E> where
<E as PairingEngine>::Fr: UnwindSafe,
<E as PairingEngine>::Fr: 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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[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> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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.
pub 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>,