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§

source

type Output

The original type.

Required Methods§

source

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

Convert the number back from the optimized representation.

Implementors§

source§

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

§

type Output = Uint<LIMBS>

source§

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

§

type Output = Uint<LIMBS>