Skip to main content

VectorEncodingSize

Trait VectorEncodingSize 

Source
pub trait VectorEncodingSize<K>: EncodingSize
where K: ArraySize,
{ type EncodedVectorSize: ArraySize; // Required methods fn flatten( polys: Array<EncodedPolynomial<Self>, K>, ) -> EncodedVector<Self, K>; fn unflatten( vec: &EncodedVector<Self, K>, ) -> Array<&EncodedPolynomial<Self>, K>; }
Expand description

An integer that can describe encoded vectors.

Required Associated Types§

Required Methods§

Source

fn flatten(polys: Array<EncodedPolynomial<Self>, K>) -> EncodedVector<Self, K>

Source

fn unflatten(vec: &EncodedVector<Self, K>) -> Array<&EncodedPolynomial<Self>, K>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§