pub trait Rany {
// Required methods
fn alphabet(&self) -> &[u8] ⓘ;
fn pos(&self, c: u8) -> Option<u64>;
// Provided methods
fn d(&self, s: impl AsRef<[u8]>) -> u64 { ... }
fn e(&self, num: impl AsPrimitive<u64>) -> Vec<u8> { ... }
}
Required Methods§
Provided Methods§
fn d(&self, s: impl AsRef<[u8]>) -> u64
fn e(&self, num: impl AsPrimitive<u64>) -> Vec<u8>
Object Safety§
This trait is not object safe.