[][src]Trait accumulator::group::ElemFrom

pub trait ElemFrom<T>: Group {
    fn elem(val: T) -> Self::Elem;
}

Like From<T>, but implemented on the Group instead of the element type.

Required methods

fn elem(val: T) -> Self::Elem

Returns a group element from an initial value.

Loading content...

Implementors

impl<A, B, C> ElemFrom<(A, B, C)> for ClassGroup where
    Integer: From<A>,
    Integer: From<B>,
    Integer: From<C>, 
[src]

Panics if (a, b, c) cannot be reduced to a valid class element.

impl<T> ElemFrom<T> for Rsa2048 where
    Integer: From<T>, 
[src]

Loading content...