brotli::enc::backward_references

Trait BasicHashComputer

source
pub trait BasicHashComputer {
    // Required methods
    fn HashBytes(&self, data: &[u8]) -> u32;
    fn BUCKET_BITS(&self) -> i32;
    fn USE_DICTIONARY(&self) -> i32;
    fn BUCKET_SWEEP(&self) -> i32;
}

Required Methods§

source

fn HashBytes(&self, data: &[u8]) -> u32

source

fn BUCKET_BITS(&self) -> i32

source

fn USE_DICTIONARY(&self) -> i32

source

fn BUCKET_SWEEP(&self) -> i32

Implementors§

source§

impl<AllocU32: Allocator<u32>> BasicHashComputer for H2Sub<AllocU32>

source§

impl<AllocU32: Allocator<u32>> BasicHashComputer for H3Sub<AllocU32>

source§

impl<AllocU32: Allocator<u32>> BasicHashComputer for H4Sub<AllocU32>

source§

impl<AllocU32: Allocator<u32>> BasicHashComputer for H54Sub<AllocU32>