Struct redox::hashmap::Djb2 [] [src]

pub struct Djb2 {
    // some fields omitted
}

DJB2 hashing

Methods

impl Djb2

fn new() -> Self

Create new DJB2 hasher

Trait Implementations

impl Hasher for Djb2

fn finish(&self) -> u64

fn write(&mut self, bytes: &[u8])

fn write_u8(&mut self, i: u8)

fn write_u16(&mut self, i: u16)

fn write_u32(&mut self, i: u32)

fn write_u64(&mut self, i: u64)

fn write_usize(&mut self, i: usize)

fn write_i8(&mut self, i: i8)

fn write_i16(&mut self, i: i16)

fn write_i32(&mut self, i: i32)

fn write_i64(&mut self, i: i64)

fn write_isize(&mut self, i: isize)