Struct brotli::enc::find_stride::EntropyBucketPopulation
source · pub struct EntropyBucketPopulation<AllocU32: Allocator<u32>> {
pub bucket_populations: AllocU32::AllocatedMemory,
pub cached_bit_entropy: floatY,
}
Fields§
§bucket_populations: AllocU32::AllocatedMemory
§cached_bit_entropy: floatY
Implementations§
source§impl<AllocU32: Allocator<u32>> EntropyBucketPopulation<AllocU32>
impl<AllocU32: Allocator<u32>> EntropyBucketPopulation<AllocU32>
pub fn new(m32: &mut AllocU32) -> Self
pub fn free(&mut self, m32: &mut AllocU32)
Trait Implementations§
source§impl<AllocU32: Allocator<u32>> Index<BucketPopIndex> for EntropyBucketPopulation<AllocU32>
impl<AllocU32: Allocator<u32>> Index<BucketPopIndex> for EntropyBucketPopulation<AllocU32>
source§impl<AllocU32: Allocator<u32>> IndexMut<BucketPopIndex> for EntropyBucketPopulation<AllocU32>
impl<AllocU32: Allocator<u32>> IndexMut<BucketPopIndex> for EntropyBucketPopulation<AllocU32>
Auto Trait Implementations§
impl<AllocU32> Freeze for EntropyBucketPopulation<AllocU32>
impl<AllocU32> RefUnwindSafe for EntropyBucketPopulation<AllocU32>
impl<AllocU32> Send for EntropyBucketPopulation<AllocU32>
impl<AllocU32> Sync for EntropyBucketPopulation<AllocU32>
impl<AllocU32> Unpin for EntropyBucketPopulation<AllocU32>
impl<AllocU32> UnwindSafe for EntropyBucketPopulation<AllocU32>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more