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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§