pub trait SmallAlphabet: Copy + Ord + Into<usize> {
    const SIZE_LOG_2: usize;
    const SIZE: usize = _;

    // Required method
    fn from_usize(val: usize) -> Self;
}

Required Associated Constants§

Provided Associated Constants§

source

const SIZE: usize = _

Required Methods§

source

fn from_usize(val: usize) -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl SmallAlphabet for bool

source§

const SIZE_LOG_2: usize = 1usize

source§

fn from_usize(val: usize) -> Self

source§

impl SmallAlphabet for u8

source§

const SIZE_LOG_2: usize = 8usize

source§

fn from_usize(val: usize) -> Self

Implementors§