[][src]Struct probabilistic_collections::SipHasherBuilder

pub struct SipHasherBuilder { /* fields omitted */ }

The default hash builder for all collections.

Implementations

impl SipHasherBuilder[src]

pub fn from_entropy() -> Self[src]

Constructs a new SipHasherBuilder that uses the thread-local RNG to seed itself.

Examples

use probabilistic_collections::SipHasherBuilder;

let hash_builder = SipHasherBuilder::from_entropy();

pub fn from_seed(k0: u64, k1: u64) -> Self[src]

Constructs a new SipHasherBuilder that is seeded with the given keys.

Examples

use probabilistic_collections::SipHasherBuilder;

let hash_builder = SipHasherBuilder::from_seed(0, 0);

Trait Implementations

impl BuildHasher for SipHasherBuilder[src]

type Hasher = SipHasher

Type of the hasher that will be created.

impl Clone for SipHasherBuilder[src]

impl Copy for SipHasherBuilder[src]

impl Debug for SipHasherBuilder[src]

impl PartialEq<SipHasherBuilder> for SipHasherBuilder[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,