Skip to main content

HuffmanTable

Trait HuffmanTable 

Source
pub trait HuffmanTable {
    // Required method
    fn entry(&self, index: usize) -> HuffmanCode;
}

Required Methods§

Source

fn entry(&self, index: usize) -> HuffmanCode

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl HuffmanTable for [HuffmanCode; 256]

Source§

fn entry(&self, index: usize) -> HuffmanCode

Source§

impl HuffmanTable for [HuffmanCode; 632]

Source§

fn entry(&self, index: usize) -> HuffmanCode

Source§

impl HuffmanTable for [HuffmanCode; 1080]

Source§

fn entry(&self, index: usize) -> HuffmanCode

Source§

impl HuffmanTable for [HuffmanCode]

Source§

fn entry(&self, index: usize) -> HuffmanCode

Implementors§