pub trait PositionMapCreator<RngType: RngCore + CryptoRng> {
    // Required method
    fn create<M: 'static + FnMut() -> RngType>(
        size: u64,
        height: u32,
        stash_size: usize,
        rng_maker: &mut M
    ) -> Box<dyn PositionMap + Send + Sync + 'static>;
}
Expand description

A factory which creates a PositionMap

Required Methods§

source

fn create<M: 'static + FnMut() -> RngType>( size: u64, height: u32, stash_size: usize, rng_maker: &mut M ) -> Box<dyn PositionMap + Send + Sync + 'static>

Implementors§