Struct lz_fnv::Fnv1 [] [src]

pub struct Fnv1<T> { /* fields omitted */ }

The FNV-1 hash.

Methods

impl<T> Fnv1<T>
[src]

[src]

Creates a new Fnv1<T> with the specified key.

use lz_fnv::Fnv1;

let fnv_hasher = Fnv1::with_key(872u32);

impl Fnv1<u32>
[src]

[src]

Creates a new Fnv1<T>.

impl Fnv1<u64>
[src]

[src]

Creates a new Fnv1<T>.

Trait Implementations

impl<T: Debug> Debug for Fnv1<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Fnv1<u32>
[src]

[src]

Returns the "default value" for a type. Read more

impl FnvHasher for Fnv1<u32>
[src]

The type of the hash.

[src]

Completes a round of hashing, producing the output hash generated.

[src]

Writes some data into this Hasher.

impl Default for Fnv1<u64>
[src]

[src]

Returns the "default value" for a type. Read more

impl FnvHasher for Fnv1<u64>
[src]

The type of the hash.

[src]

Completes a round of hashing, producing the output hash generated.

[src]

Writes some data into this Hasher.

impl Hasher for Fnv1<u64>
[src]

[src]

Returns the hash value for the values written so far. Read more

[src]

Writes some data into this Hasher. Read more

1.3.0
[src]

Writes a single u8 into this hasher.

1.3.0
[src]

Writes a single u16 into this hasher.

1.3.0
[src]

Writes a single u32 into this hasher.

1.3.0
[src]

Writes a single u64 into this hasher.

[src]

🔬 This is a nightly-only experimental API. (i128)

Writes a single u128 into this hasher.

1.3.0
[src]

Writes a single usize into this hasher.

1.3.0
[src]

Writes a single i8 into this hasher.

1.3.0
[src]

Writes a single i16 into this hasher.

1.3.0
[src]

Writes a single i32 into this hasher.

1.3.0
[src]

Writes a single i64 into this hasher.

[src]

🔬 This is a nightly-only experimental API. (i128)

Writes a single i128 into this hasher.

1.3.0
[src]

Writes a single isize into this hasher.

Auto Trait Implementations

impl<T> Send for Fnv1<T> where
    T: Send

impl<T> Sync for Fnv1<T> where
    T: Sync