brotli::enc::backward_references

Trait AdvHashSpecialization

source
pub trait AdvHashSpecialization: PartialEq<Self> {
    // Required methods
    fn get_hash_mask(&self) -> u64;
    fn set_hash_mask(&mut self, params_hash_len: i32);
    fn get_k_hash_mul(&self) -> u64;
    fn HashTypeLength(&self) -> usize;
    fn StoreLookahead(&self) -> usize;
    fn load_and_mix_word(&self, data: &[u8]) -> u64;
    fn hash_shift(&self) -> i32;
    fn bucket_size(&self) -> u32;
    fn block_mask(&self) -> u32;
    fn block_size(&self) -> u32;
    fn block_bits(&self) -> i32;
}

Required Methods§

source

fn get_hash_mask(&self) -> u64

source

fn set_hash_mask(&mut self, params_hash_len: i32)

source

fn get_k_hash_mul(&self) -> u64

source

fn HashTypeLength(&self) -> usize

source

fn StoreLookahead(&self) -> usize

source

fn load_and_mix_word(&self, data: &[u8]) -> u64

source

fn hash_shift(&self) -> i32

source

fn bucket_size(&self) -> u32

source

fn block_mask(&self) -> u32

source

fn block_size(&self) -> u32

source

fn block_bits(&self) -> i32

Object Safety§

This trait is not object safe.

Implementors§