[][src]Trait av_bitstream::codebook::CodebookDescReader

pub trait CodebookDescReader<S> {
    fn bits(&self, idx: usize) -> u8;
fn code(&self, idx: usize) -> u32;
fn sym(&self, idx: usize) -> S;
fn len(&self) -> usize;
fn is_empty(&self) -> bool; }

Required methods

fn bits(&self, idx: usize) -> u8

fn code(&self, idx: usize) -> u32

fn sym(&self, idx: usize) -> S

fn len(&self) -> usize

fn is_empty(&self) -> bool

Loading content...

Implementations on Foreign Types

impl<S: Copy> CodebookDescReader<S> for Vec<FullCodebookDesc<S>>[src]

impl CodebookDescReader<u32> for Vec<ShortCodebookDesc>[src]

Loading content...

Implementors

impl<CodeType, SymType> CodebookDescReader<SymType> for TableCodebookDescReader<CodeType, SymType> where
    CodeType: Copy + Into<u32> + 'static,
    SymType: Copy + 'static,
    usize: AsPrimitive<SymType>, 
[src]

Loading content...