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
sourceimpl<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
sourceimpl<G: Clone + Group> Clone for PreparedRange<G> where
G::Element: Clone,
impl<G: Clone + Group> Clone for PreparedRange<G> where
G::Element: Clone,
sourcefn clone(&self) -> PreparedRange<G>
fn clone(&self) -> PreparedRange<G>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<G: Group> From<RangeDecomposition> for PreparedRange<G>
impl<G: Group> From<RangeDecomposition> for PreparedRange<G>
sourcefn from(decomposition: RangeDecomposition) -> Self
fn from(decomposition: RangeDecomposition) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl<G> RefUnwindSafe for PreparedRange<G> where
<G as ElementOps>::Element: RefUnwindSafe,
impl<G> Send for PreparedRange<G> where
<G as ElementOps>::Element: Send,
impl<G> Sync for PreparedRange<G> where
<G as ElementOps>::Element: Sync,
impl<G> Unpin for PreparedRange<G> where
<G as ElementOps>::Element: Unpin,
impl<G> UnwindSafe for PreparedRange<G> where
<G as ElementOps>::Element: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more