Skip to main content

LineValid

Trait LineValid 

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

Required Associated Types§

Required Methods§

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl LineValid for [u8; 0]

Source§

type Length = UTerm

Source§

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

Source§

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

Implementors§

Source§

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,

Source§

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

Source§

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>,