pub trait ComplementMut {
// Required method
fn comp(&mut self);
}Expand description
Nucleotide bases and sequences can be complemented
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl ComplementMut for bio_seq::codec::dna::Dna
This 2-bit representation of nucleotides lends itself to a very fast complement implementation with bitwise xor
impl ComplementMut for bio_seq::codec::masked::dna::Dna
impl ComplementMut for bio_seq::codec::iupac::Iupac
The complement of an IUPAC base is the reverse of the bit-pattern