Struct brotli::enc::backward_references::hash_to_binary_tree::H10
source · [−]pub struct H10<AllocU32: Allocator<u32>, Buckets: Allocable<u32, AllocU32> + SliceWrapperMut<u32> + SliceWrapper<u32>, Params: H10Params> where
Buckets: PartialEq<Buckets>, {
pub window_mask_: usize,
pub common: Struct1,
pub buckets_: Buckets,
pub invalid_pos_: u32,
pub forest: AllocU32::AllocatedMemory,
pub _params: PhantomData<Params>,
}
Fields
window_mask_: usize
common: Struct1
buckets_: Buckets
invalid_pos_: u32
forest: AllocU32::AllocatedMemory
_params: PhantomData<Params>
Implementations
Trait Implementations
sourceimpl<AllocU32: Allocator<u32>, Buckets: Allocable<u32, AllocU32> + SliceWrapperMut<u32> + SliceWrapper<u32>, Params: H10Params> AnyHasher for H10<AllocU32, Buckets, Params> where
Buckets: PartialEq<Buckets>,
impl<AllocU32: Allocator<u32>, Buckets: Allocable<u32, AllocU32> + SliceWrapperMut<u32> + SliceWrapper<u32>, Params: H10Params> AnyHasher for H10<AllocU32, Buckets, Params> where
Buckets: PartialEq<Buckets>,
fn Opts(&self) -> H9Opts
fn PrepareDistanceCache(&self, _distance_cache: &mut [i32])
fn HashTypeLength(&self) -> usize
fn StoreLookahead(&self) -> usize
fn StitchToPreviousBlock(
&mut self,
num_bytes: usize,
position: usize,
ringbuffer: &[u8],
ringbuffer_mask: usize
)
fn GetHasherCommon(&mut self) -> &mut Struct1
fn HashBytes(&self, data: &[u8]) -> usize
fn Store(&mut self, data: &[u8], mask: usize, ix: usize)
fn StoreRange(
&mut self,
data: &[u8],
mask: usize,
ix_start: usize,
ix_end: usize
)
fn BulkStoreRange(
&mut self,
data: &[u8],
mask: usize,
ix_start: usize,
ix_end: usize
)
fn Prepare(
&mut self,
_one_shot: bool,
_input_size: usize,
_data: &[u8]
) -> HowPrepared
fn FindLongestMatch(
&mut self,
_dictionary: Option<&BrotliDictionary>,
_dictionary_hash: &[u16],
_data: &[u8],
_ring_buffer_mask: usize,
_distance_cache: &[i32],
_cur_ix: usize,
_max_length: usize,
_max_backward: usize,
_gap: usize,
_max_distance: usize,
_out: &mut HasherSearchResult
) -> bool
fn Store4Vec4(&mut self, data: &[u8], mask: usize, ix: usize)
fn StoreEvenVec4(&mut self, data: &[u8], mask: usize, ix: usize)
sourceimpl<Alloc: Allocator<u16> + Allocator<u32>, Buckets: Allocable<u32, Alloc> + SliceWrapperMut<u32> + SliceWrapper<u32>, Params: H10Params> CloneWithAlloc<Alloc> for H10<Alloc, Buckets, Params> where
Buckets: PartialEq<Buckets>,
impl<Alloc: Allocator<u16> + Allocator<u32>, Buckets: Allocable<u32, Alloc> + SliceWrapperMut<u32> + SliceWrapper<u32>, Params: H10Params> CloneWithAlloc<Alloc> for H10<Alloc, Buckets, Params> where
Buckets: PartialEq<Buckets>,
fn clone_with_alloc(&self, m: &mut Alloc) -> Self
Auto Trait Implementations
impl<AllocU32, Buckets, Params> RefUnwindSafe for H10<AllocU32, Buckets, Params> where
Buckets: RefUnwindSafe,
Params: RefUnwindSafe,
<AllocU32 as Allocator<u32>>::AllocatedMemory: RefUnwindSafe,
impl<AllocU32, Buckets, Params> Send for H10<AllocU32, Buckets, Params> where
Buckets: Send,
Params: Send,
<AllocU32 as Allocator<u32>>::AllocatedMemory: Send,
impl<AllocU32, Buckets, Params> Sync for H10<AllocU32, Buckets, Params> where
Buckets: Sync,
Params: Sync,
<AllocU32 as Allocator<u32>>::AllocatedMemory: Sync,
impl<AllocU32, Buckets, Params> Unpin for H10<AllocU32, Buckets, Params> where
Buckets: Unpin,
Params: Unpin,
<AllocU32 as Allocator<u32>>::AllocatedMemory: Unpin,
impl<AllocU32, Buckets, Params> UnwindSafe for H10<AllocU32, Buckets, Params> where
Buckets: UnwindSafe,
Params: UnwindSafe,
<AllocU32 as Allocator<u32>>::AllocatedMemory: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more