[][src]Struct brotli::enc::find_stride::EntropyBucketPopulation

pub struct EntropyBucketPopulation<AllocU32: Allocator<u32>> {
    pub bucket_populations: AllocU32::AllocatedMemory,
    pub cached_bit_entropy: floatY,
}

Fields

bucket_populations: AllocU32::AllocatedMemorycached_bit_entropy: floatY

Methods

impl<AllocU32: Allocator<u32>> EntropyBucketPopulation<AllocU32>[src]

pub fn new(m32: &mut AllocU32) -> Self[src]

pub fn free(&mut self, m32: &mut AllocU32)[src]

Trait Implementations

impl<AllocU32: Allocator<u32>> Index<BucketPopIndex> for EntropyBucketPopulation<AllocU32>[src]

type Output = u32

The returned type after indexing.

impl<AllocU32: Allocator<u32>> IndexMut<BucketPopIndex> for EntropyBucketPopulation<AllocU32>[src]

Auto Trait Implementations

impl<AllocU32> RefUnwindSafe for EntropyBucketPopulation<AllocU32> where
    <AllocU32 as Allocator<u32>>::AllocatedMemory: RefUnwindSafe

impl<AllocU32> Send for EntropyBucketPopulation<AllocU32> where
    <AllocU32 as Allocator<u32>>::AllocatedMemory: Send

impl<AllocU32> Sync for EntropyBucketPopulation<AllocU32> where
    <AllocU32 as Allocator<u32>>::AllocatedMemory: Sync

impl<AllocU32> Unpin for EntropyBucketPopulation<AllocU32> where
    <AllocU32 as Allocator<u32>>::AllocatedMemory: Unpin

impl<AllocU32> UnwindSafe for EntropyBucketPopulation<AllocU32> where
    <AllocU32 as Allocator<u32>>::AllocatedMemory: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.