[−][src]Struct probabilistic_collections::SipHasherBuilder
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.
fn build_hasher(&self) -> SipHasher
[src]
impl Clone for SipHasherBuilder
[src]
fn clone(&self) -> SipHasherBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SipHasherBuilder
[src]
impl Debug for SipHasherBuilder
[src]
impl PartialEq<SipHasherBuilder> for SipHasherBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for SipHasherBuilder
impl Send for SipHasherBuilder
impl Sync for SipHasherBuilder
impl Unpin for SipHasherBuilder
impl UnwindSafe for SipHasherBuilder
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,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,