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§impl Debug for XxHashConfig
impl Debug for XxHashConfig
Auto Trait Implementations§
impl Freeze for XxHashConfig
impl RefUnwindSafe for XxHashConfig
impl Send for XxHashConfig
impl Sync for XxHashConfig
impl Unpin for XxHashConfig
impl UnsafeUnpin 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