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

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

size_: u32mask_: u32tail_size_: u32total_size_: u32cur_size_: u32pos_: u32data_mo: AllocU8::AllocatedMemorybuffer_index: usize

Auto Trait Implementations

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

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

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

impl<AllocU8> UnwindSafe for RingBuffer<AllocU8> where
    <AllocU8 as Allocator<u8>>::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.