pub struct XxHashConfig {
pub seed: u64,
pub secret: Option<Vec<u8>>,
}Expand description
Configuration for xxHash algorithms.
Fields§
§seed: u64Seed value (0-u64::MAX)
secret: Option<Vec<u8>>Secret for XXH3 variants (must be >= 136 bytes)
Implementations§
Trait Implementations§
Source§impl Clone for XxHashConfig
impl Clone for XxHashConfig
Source§fn clone(&self) -> XxHashConfig
fn clone(&self) -> XxHashConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for XxHashConfig
impl Debug for XxHashConfig
Source§impl Default for XxHashConfig
impl Default for XxHashConfig
Source§fn default() -> XxHashConfig
fn default() -> XxHashConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for XxHashConfig
impl RefUnwindSafe for XxHashConfig
impl Send for XxHashConfig
impl Sync for XxHashConfig
impl Unpin for XxHashConfig
impl UnwindSafe for XxHashConfig
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