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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)