Trait SourceBuilder

Source
pub trait SourceBuilder<G: PrimeCurveAffine>:
    Send
    + Sync
    + 'static
    + Clone {
    type Source: Source<G>;

    // Required methods
    fn new(self) -> Self::Source;
    fn get(self) -> (Arc<Vec<G>>, usize);
}
Expand description

An object that builds a source of bases.

Required Associated Types§

Required Methods§

Source

fn new(self) -> Self::Source

Source

fn get(self) -> (Arc<Vec<G>>, usize)

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.

Implementations on Foreign Types§

Source§

impl<G: PrimeCurveAffine> SourceBuilder<G> for (Arc<Vec<G>>, usize)

Source§

type Source = (Arc<Vec<G>>, usize)

Source§

fn new(self) -> (Arc<Vec<G>>, usize)

Source§

fn get(self) -> (Arc<Vec<G>>, usize)

Implementors§