pub struct ExportableRandomState { /* private fields */ }Expand description
Implementation of ExportableRandomState, similar to std::hash::RandomState.
Implementations§
Source§impl ExportableRandomState
impl ExportableRandomState
Sourcepub fn new_random() -> Self
pub fn new_random() -> Self
Creates a new random instance.
Trait Implementations§
Source§impl BuildHasher for ExportableRandomState
impl BuildHasher for ExportableRandomState
Source§impl Clone for ExportableRandomState
impl Clone for ExportableRandomState
Source§fn clone(&self) -> ExportableRandomState
fn clone(&self) -> ExportableRandomState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ExportableRandomState
impl Default for ExportableRandomState
Source§impl ExportableBuildHasher for ExportableRandomState
impl ExportableBuildHasher for ExportableRandomState
Source§const NAME: &str = "cuckoo_clock::exporter::ExportableRandomState"
const NAME: &str = "cuckoo_clock::exporter::ExportableRandomState"
Unique of this
ExportableBuildHasher. This will be stored in the header of exported
data.Auto Trait Implementations§
impl Freeze for ExportableRandomState
impl RefUnwindSafe for ExportableRandomState
impl Send for ExportableRandomState
impl Sync for ExportableRandomState
impl Unpin for ExportableRandomState
impl UnsafeUnpin for ExportableRandomState
impl UnwindSafe for ExportableRandomState
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