[][src]Struct s_trie_standardmap::StandardMap

pub struct StandardMap {
    pub alphabet: Alphabet,
    pub min_key: usize,
    pub journal_key: usize,
    pub value_mode: ValueMode,
    pub count: usize,
}

Standard test map for profiling tries.

Fields

alphabet: Alphabet

The alphabet to use for keys.

min_key: usize

Minimum size of key.

journal_key: usize

Delta size of key.

value_mode: ValueMode

Mode of value generation.

count: usize

Number of keys.

Methods

impl StandardMap[src]

pub fn make(&self) -> Vec<(Bytes, Bytes)>[src]

Create the standard map (set of keys and values) for the object's fields.

pub fn make_with(&self, seed: &mut H256) -> Vec<(Bytes, Bytes)>[src]

Create the standard map (set of keys and values) for the object's fields, using the given seed.

Auto Trait Implementations

impl Send for StandardMap

impl Sync for StandardMap

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]