[−][src]Struct bulletproofs::generators::BulletproofGensShare
Represents a view of the generators used by a specific party in an aggregated proof.
The BulletproofGens
struct represents generators for an aggregated
range proof m
proofs of n
bits each; the BulletproofGensShare
provides a view of the generators for one of the m
parties' shares.
The BulletproofGensShare
is produced by BulletproofGens::share()
.
Fields
gens: &'a BulletproofGens
The parent object that this is a view into
Which share we are
Methods
impl<'a> BulletproofGensShare<'a>
[src]
pub(crate) fn G(&self, n: usize) -> impl Iterator<Item = &'a RistrettoPoint>
[src]
Return an iterator over this party's G generators with given size n
.
pub(crate) fn H(&self, n: usize) -> impl Iterator<Item = &'a RistrettoPoint>
[src]
Return an iterator over this party's H generators with given size n
.
Trait Implementations
impl<'a> Clone for BulletproofGensShare<'a>
[src]
fn clone(&self) -> BulletproofGensShare<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Copy for BulletproofGensShare<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for BulletproofGensShare<'a>
impl<'a> Send for BulletproofGensShare<'a>
impl<'a> Sync for BulletproofGensShare<'a>
impl<'a> Unpin for BulletproofGensShare<'a>
impl<'a> UnwindSafe for BulletproofGensShare<'a>
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, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
fn cast(self) -> U
impl<T> From<T> for T
[src]
impl<T> FromBits<T> for T
fn from_bits(t: T) -> T
impl<T> FromCast<T> for T
fn from_cast(t: T) -> T
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
U: FromBits<T>,
fn into_bits(self) -> U
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 = !
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>,