TextEncoder

Trait TextEncoder 

Source
pub trait TextEncoder: Header {
    // Required method
    fn idx_of(&self, sym: u8) -> u8;
}

Required Methods§

Source

fn idx_of(&self, sym: u8) -> u8

The index of the given symbol.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§