Trait lightmotif::abc::Alphabet
source · pub trait Alphabet: Debug + Copy + Default + 'static {
type Symbol: Symbol + Debug;
type K: Unsigned + NonZero + ArrayLength + Debug;
// Required methods
fn symbols() -> &'static [Self::Symbol];
fn as_str() -> &'static str;
// Provided method
fn default_symbol() -> Self::Symbol { ... }
}Expand description
A biological alphabet with associated metadata.
Required Associated Types§
Required Methods§
Provided Methods§
sourcefn default_symbol() -> Self::Symbol
fn default_symbol() -> Self::Symbol
Get the default symbol for this alphabet.
Object Safety§
This trait is not object safe.