Trait rac::LineValid[][src]

pub trait LineValid where
    Self: Sized
{ type Length: ArrayLength<u8>; fn try_clone_array(a: &Array<Self::Length>) -> Result<Self, ()>;
fn clone_line(&self) -> Array<Self::Length>; }

Associated Types

Loading content...

Required methods

fn try_clone_array(a: &Array<Self::Length>) -> Result<Self, ()>[src]

fn clone_line(&self) -> Array<Self::Length>[src]

Loading content...

Implementations on Foreign Types

impl LineValid for [u8; 0][src]

type Length = U0

fn try_clone_array(_a: &Array<Self::Length>) -> Result<Self, ()>[src]

fn clone_line(&self) -> Array<Self::Length>[src]

Loading content...

Implementors

impl<C, D> LineValid for Schnorr<C, D> where
    C: Curve,
    D: Default + Update + FixedOutput<OutputSize = <C::Scalar as LineValid>::Length>,
    Concat<Array<C::CoordinateLength>, C::Scalar>: LineValid
[src]

impl<L> LineValid for Array<L> where
    L: ArrayLength<u8>, 
[src]

type Length = L

fn try_clone_array(a: &Array<Self::Length>) -> Result<Self, ()>[src]

fn clone_line(&self) -> Array<Self::Length>[src]

impl<U, V> LineValid for Concat<U, V> where
    U: LineValid,
    V: LineValid,
    U::Length: Add<V::Length>,
    <U::Length as Add<V::Length>>::Output: ArrayLength<u8>, 
[src]

type Length = <U::Length as AddLength<u8, V::Length>>::Output

fn try_clone_array(a: &Array<Self::Length>) -> Result<Self, ()>[src]

fn clone_line(&self) -> Array<Self::Length>[src]

Loading content...