[][src]Struct brotli::enc::block_split::BlockSplit

pub struct BlockSplit<Alloc: Allocator<u8> + Allocator<u32>> {
    pub num_types: usize,
    pub num_blocks: usize,
    pub types: <Alloc as Allocator<u8>>::AllocatedMemory,
    pub lengths: <Alloc as Allocator<u32>>::AllocatedMemory,
}

Fields

num_types: usizenum_blocks: usizetypes: <Alloc as Allocator<u8>>::AllocatedMemorylengths: <Alloc as Allocator<u32>>::AllocatedMemory

Methods

impl<Alloc: Allocator<u8> + Allocator<u32>> BlockSplit<Alloc>[src]

pub fn new() -> BlockSplit<Alloc>[src]

pub fn destroy(&mut self, m: &mut Alloc)[src]

pub fn types_alloc_size(&self) -> usize[src]

pub fn lengths_alloc_size(&self) -> usize[src]

Auto Trait Implementations

impl<Alloc> RefUnwindSafe for BlockSplit<Alloc> where
    <Alloc as Allocator<u32>>::AllocatedMemory: RefUnwindSafe,
    <Alloc as Allocator<u8>>::AllocatedMemory: RefUnwindSafe

impl<Alloc> Send for BlockSplit<Alloc> where
    <Alloc as Allocator<u32>>::AllocatedMemory: Send,
    <Alloc as Allocator<u8>>::AllocatedMemory: Send

impl<Alloc> Sync for BlockSplit<Alloc> where
    <Alloc as Allocator<u32>>::AllocatedMemory: Sync,
    <Alloc as Allocator<u8>>::AllocatedMemory: Sync

impl<Alloc> Unpin for BlockSplit<Alloc> where
    <Alloc as Allocator<u32>>::AllocatedMemory: Unpin,
    <Alloc as Allocator<u8>>::AllocatedMemory: Unpin

impl<Alloc> UnwindSafe for BlockSplit<Alloc> where
    <Alloc as Allocator<u32>>::AllocatedMemory: UnwindSafe,
    <Alloc 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.