1 2 3 4 5 6 7 8 9 10 11
//! The [`Encoder`] trait. use super::table::Table; /// A trait used by [`EStr`] to specify the table used for encoding. /// /// [`EStr`]: super::EStr pub(crate) trait Encoder: 'static { /// The table used for encoding. const TABLE: Table; }