Struct tetsy_trie_standardmap::StandardMap [−][src]
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: u32
Number of keys.
Implementations
impl StandardMap
[src]
pub fn make(&self) -> Vec<(Vec<u8>, Vec<u8>)>
[src]
Create the standard map (set of keys and values) for the object’s fields.
pub fn make_with(
&self,
seed: &mut <KeccakHasher as Hasher>::Out
) -> Vec<(Vec<u8>, Vec<u8>)>
[src]
&self,
seed: &mut <KeccakHasher as Hasher>::Out
) -> Vec<(Vec<u8>, Vec<u8>)>
Create the standard map (set of keys and values) for the object’s fields, using the given seed.
Auto Trait Implementations
impl RefUnwindSafe for StandardMap
impl Send for StandardMap
impl Sync for StandardMap
impl Unpin for StandardMap
impl UnwindSafe for StandardMap
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,