Struct elastic_elgamal::PreparedRange
source · pub struct PreparedRange<G: Group> { /* private fields */ }
Expand description
RangeDecomposition
together with values precached for creating and/or verifying
RangeProof
s in a certain Group
.
Implementations§
source§impl<G: Group> PreparedRange<G>
impl<G: Group> PreparedRange<G>
sourcepub fn decomposition(&self) -> &RangeDecomposition
pub fn decomposition(&self) -> &RangeDecomposition
Returns a reference to the contained decomposition.
Trait Implementations§
source§impl<G: Clone + Group> Clone for PreparedRange<G>
impl<G: Clone + Group> Clone for PreparedRange<G>
source§fn clone(&self) -> PreparedRange<G>
fn clone(&self) -> PreparedRange<G>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<G: Group> From<RangeDecomposition> for PreparedRange<G>
impl<G: Group> From<RangeDecomposition> for PreparedRange<G>
source§fn from(decomposition: RangeDecomposition) -> Self
fn from(decomposition: RangeDecomposition) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<G> Freeze for PreparedRange<G>
impl<G> RefUnwindSafe for PreparedRange<G>
impl<G> Send for PreparedRange<G>
impl<G> Sync for PreparedRange<G>
impl<G> Unpin for PreparedRange<G>
impl<G> UnwindSafe for PreparedRange<G>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more