Trait SourceBuilder

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

    // Required method
    fn build(self) -> Self::Source;
}
Expand description

An object that builds a source of bases.

Required Associated Types§

Required Methods§

Source

fn build(self) -> Self::Source

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 build(self) -> (Arc<Vec<G>>, usize)

Implementors§