pub struct Seedable<BH>(pub BH)
where
BH: BuildHasher + Clone;Expand description
BuildSeededHasher that uses standard BuildHasher.
Tuple Fields§
§0: BHTrait Implementations§
Source§impl<BH> BuildSeededHasher for Seedable<BH>where
BH: BuildHasher + Clone,
impl<BH> BuildSeededHasher for Seedable<BH>where
BH: BuildHasher + Clone,
type Hasher = <BH as BuildHasher>::Hasher
Source§fn build_hasher(&self, seed: u64) -> <Seedable<BH> as BuildSeededHasher>::Hasher
fn build_hasher(&self, seed: u64) -> <Seedable<BH> as BuildSeededHasher>::Hasher
Creates a new hasher initialized with the given 64-bit
seed.impl<BH> Copy for Seedable<BH>
Auto Trait Implementations§
impl<BH> Freeze for Seedable<BH>where
BH: Freeze,
impl<BH> RefUnwindSafe for Seedable<BH>where
BH: RefUnwindSafe,
impl<BH> Send for Seedable<BH>where
BH: Send,
impl<BH> Sync for Seedable<BH>where
BH: Sync,
impl<BH> Unpin for Seedable<BH>where
BH: Unpin,
impl<BH> UnsafeUnpin for Seedable<BH>where
BH: UnsafeUnpin,
impl<BH> UnwindSafe for Seedable<BH>where
BH: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
impl<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DowncastableFrom<T> for T
impl<T> DowncastableFrom<T> for T
Source§fn downcast_from(value: T) -> T
fn downcast_from(value: T) -> T
Truncate the current UnsignedInt to a possibly smaller size
Source§impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> UpcastableFrom<T> for T
impl<T> UpcastableFrom<T> for T
Source§fn upcast_from(value: T) -> T
fn upcast_from(value: T) -> T
Extend the current UnsignedInt to a possibly bigger size.