Trait clacc::Map

source ·
pub trait Map {
    // Required method
    fn map<T, V>(v: V) -> T
where V: Into<Vec<u8>>,
T: for<'a> BigInt<'a>
; }
Expand description

A trait describing a conversion from an arbitrary type to a fixed size BigInt.

Required Methods§

source

fn map<T, V>(v: V) -> Twhere
V: Into<Vec<u8>>,
T: for<'a> BigInt<'a>,

Implementors§

source§

impl<D> Map for Dwhere
D: Digest,