pub trait Retrieve {
    type Output;

    // Required method
    fn retrieve(&self) -> Self::Output;
}
Expand description

A generalization for numbers kept in optimized representations (e.g. Montgomery) that can be converted back to the original form.

Required Associated Types§

type Output

The original type.

Required Methods§

fn retrieve(&self) -> Self::Output

Convert the number back from the optimized representation.

Implementors§

§

impl<MOD, const LIMBS: usize> Retrieve for Residue<MOD, LIMBS>where MOD: ResidueParams<LIMBS>,

§

type Output = Uint<LIMBS>

§

impl<const LIMBS: usize> Retrieve for DynResidue<LIMBS>

§

type Output = Uint<LIMBS>