Trait bio_seq::codec::Complement
source · pub trait Complement {
// Required method
fn comp(self) -> Self;
}Expand description
Nucleotide alphabets that can be complemented implement Complement
use bio_seq::prelude::{Dna, Complement};
assert_eq!(Dna::A.comp(), Dna::T);Required Methods§
Object Safety§
This trait is not object safe.