pub trait TranslationTable<A: Codec, B: Codec> {
// Required methods
fn to_amino(&self, codon: &SeqSlice<A>) -> B;
fn to_codon(&self, amino: B) -> Result<Seq<A>, TranslationError<A, B>>;
}Expand description
A codon translation table where all codons map to amino acids