Struct xxhash2::Hash64 [] [src]

pub struct Hash64 { /* fields omitted */ }

Canonical representation of a 64-bit hash.

This structure provides a conversion from a 64-bit hash value to a list of bytes in a canonical format. Note that the bytes returned are not necessarily hex.

Methods

impl Hash64
[src]

Returns the underlying hash as a list of bytes in a canonical representation.

Returns this canonical hash value as a 64-bit integer.

Converts from the underlying list of bytes to an integer.

Trait Implementations

impl From<u64> for Hash64
[src]

Creates a new canonical representation of a 64-bit hash value.

The returned value can be viewed as a list of bytes.

impl From<[u8; 8]> for Hash64
[src]

Creates a new canonical representation of a hash from the 8-byte canonical representation.

The returned value can be viewed as a u64.

impl Debug for Hash64
[src]

Formats the value using the given formatter.