Struct brotli::enc::encode::RingBuffer [] [src]

pub struct RingBuffer<AllocU8: Allocator<u8>> {
    pub size_: u32,
    pub mask_: u32,
    pub tail_size_: u32,
    pub total_size_: u32,
    pub cur_size_: u32,
    pub pos_: u32,
    pub data_mo: AllocU8::AllocatedMemory,
    pub buffer_index: usize,
}

Fields

Trait Implementations

Auto Trait Implementations

impl<AllocU8> Send for RingBuffer<AllocU8> where
    <AllocU8 as Allocator<u8>>::AllocatedMemory: Send

impl<AllocU8> Sync for RingBuffer<AllocU8> where
    <AllocU8 as Allocator<u8>>::AllocatedMemory: Sync