brotli::enc::backward_references

Trait CloneWithAlloc

source
pub trait CloneWithAlloc<Alloc: Allocator<u16> + Allocator<u32>> {
    // Required method
    fn clone_with_alloc(&self, m: &mut Alloc) -> Self;
}

Required Methods§

source

fn clone_with_alloc(&self, m: &mut Alloc) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Alloc: Allocator<u16> + Allocator<u32>> CloneWithAlloc<Alloc> for UnionHasher<Alloc>

source§

impl<Alloc: Allocator<u16> + Allocator<u32>> CloneWithAlloc<Alloc> for BasicHasher<H2Sub<Alloc>>

source§

impl<Alloc: Allocator<u16> + Allocator<u32>> CloneWithAlloc<Alloc> for BasicHasher<H3Sub<Alloc>>

source§

impl<Alloc: Allocator<u16> + Allocator<u32>> CloneWithAlloc<Alloc> for BasicHasher<H4Sub<Alloc>>

source§

impl<Alloc: Allocator<u16> + Allocator<u32>> CloneWithAlloc<Alloc> for BasicHasher<H54Sub<Alloc>>

source§

impl<Alloc: Allocator<u16> + Allocator<u32>> CloneWithAlloc<Alloc> for H9<Alloc>

source§

impl<Alloc: Allocator<u16> + Allocator<u32>, Buckets, Params: H10Params> CloneWithAlloc<Alloc> for H10<Alloc, Buckets, Params>
where Buckets: PartialEq<Buckets> + Allocable<u32, Alloc> + SliceWrapperMut<u32> + SliceWrapper<u32>,

source§

impl<Alloc: Allocator<u16> + Allocator<u32>, Special: AdvHashSpecialization + Sized + Clone> CloneWithAlloc<Alloc> for AdvHasher<Special, Alloc>