pub trait ScalarsCollection<T> {
// Required methods
fn len(&self) -> usize;
fn get(&self, i: usize) -> T;
// Provided method
fn is_empty(&self) -> bool { ... }
}
Expand description
Scalars collection abstraction. This trait is used to abstract over different types of collections of field elements.