[−][src]Struct brotli::enc::backward_references::AdvHasher
Fields
GetHasherCommon: Struct1
specialization: Specialization
num: <Alloc as Allocator<u16>>::AllocatedMemory
buckets: <Alloc as Allocator<u32>>::AllocatedMemory
h9_opts: H9Opts
Trait Implementations
impl<Specialization: AdvHashSpecialization + Clone, Alloc: Allocator<u16> + Allocator<u32>> AnyHasher for AdvHasher<Specialization, Alloc>
[src]
fn Opts(&self) -> H9Opts
[src]
fn PrepareDistanceCache(&self, distance_cache: &mut [i32])
[src]
fn StitchToPreviousBlock(
&mut self,
num_bytes: usize,
position: usize,
ringbuffer: &[u8],
ringbuffer_mask: usize
)
[src]
&mut self,
num_bytes: usize,
position: usize,
ringbuffer: &[u8],
ringbuffer_mask: usize
)
fn Prepare(
&mut self,
one_shot: bool,
input_size: usize,
data: &[u8]
) -> HowPrepared
[src]
&mut self,
one_shot: bool,
input_size: usize,
data: &[u8]
) -> HowPrepared
fn GetHasherCommon(&mut self) -> &mut Struct1
[src]
fn HashTypeLength(&self) -> usize
[src]
fn StoreLookahead(&self) -> usize
[src]
fn HashBytes(&self, data: &[u8]) -> usize
[src]
fn StoreEvenVec4(&mut self, data: &[u8], mask: usize, ix: usize)
[src]
fn Store4Vec4(&mut self, data: &[u8], mask: usize, ix: usize)
[src]
fn Store(&mut self, data: &[u8], mask: usize, ix: usize)
[src]
fn StoreRange(
&mut self,
data: &[u8],
mask: usize,
ix_start: usize,
ix_end: usize
)
[src]
&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
)
[src]
&mut self,
data: &[u8],
mask: usize,
ix_start: usize,
ix_end: usize
)
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
[src]
&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
impl<Alloc: Allocator<u16> + Allocator<u32>, Special: AdvHashSpecialization + Sized + Clone> CloneWithAlloc<Alloc> for AdvHasher<Special, Alloc>
[src]
fn clone_with_alloc(&self, m: &mut Alloc) -> Self
[src]
impl<Specialization: AdvHashSpecialization + Sized + Clone, Alloc: Allocator<u16> + Allocator<u32>> PartialEq<AdvHasher<Specialization, Alloc>> for AdvHasher<Specialization, Alloc>
[src]
Auto Trait Implementations
impl<Specialization, Alloc> RefUnwindSafe for AdvHasher<Specialization, Alloc> where
Specialization: RefUnwindSafe,
<Alloc as Allocator<u16>>::AllocatedMemory: RefUnwindSafe,
<Alloc as Allocator<u32>>::AllocatedMemory: RefUnwindSafe,
Specialization: RefUnwindSafe,
<Alloc as Allocator<u16>>::AllocatedMemory: RefUnwindSafe,
<Alloc as Allocator<u32>>::AllocatedMemory: RefUnwindSafe,
impl<Specialization, Alloc> Send for AdvHasher<Specialization, Alloc> where
Specialization: Send,
<Alloc as Allocator<u16>>::AllocatedMemory: Send,
<Alloc as Allocator<u32>>::AllocatedMemory: Send,
Specialization: Send,
<Alloc as Allocator<u16>>::AllocatedMemory: Send,
<Alloc as Allocator<u32>>::AllocatedMemory: Send,
impl<Specialization, Alloc> Sync for AdvHasher<Specialization, Alloc> where
Specialization: Sync,
<Alloc as Allocator<u16>>::AllocatedMemory: Sync,
<Alloc as Allocator<u32>>::AllocatedMemory: Sync,
Specialization: Sync,
<Alloc as Allocator<u16>>::AllocatedMemory: Sync,
<Alloc as Allocator<u32>>::AllocatedMemory: Sync,
impl<Specialization, Alloc> Unpin for AdvHasher<Specialization, Alloc> where
Specialization: Unpin,
<Alloc as Allocator<u16>>::AllocatedMemory: Unpin,
<Alloc as Allocator<u32>>::AllocatedMemory: Unpin,
Specialization: Unpin,
<Alloc as Allocator<u16>>::AllocatedMemory: Unpin,
<Alloc as Allocator<u32>>::AllocatedMemory: Unpin,
impl<Specialization, Alloc> UnwindSafe for AdvHasher<Specialization, Alloc> where
Specialization: UnwindSafe,
<Alloc as Allocator<u16>>::AllocatedMemory: UnwindSafe,
<Alloc as Allocator<u32>>::AllocatedMemory: UnwindSafe,
Specialization: UnwindSafe,
<Alloc as Allocator<u16>>::AllocatedMemory: UnwindSafe,
<Alloc as Allocator<u32>>::AllocatedMemory: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,