pub trait CharSet {
const SIZE: usize;
// Required methods
fn map(ch: char) -> usize;
fn unmap(hash: usize) -> char;
}
Expand description
Implement this trait to space optimize your trie according to your character set
Required Associated Constants§
Required Methods§
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.