pub fn from_dna_string(dna: &str) -> DnaString {
        let mut dna_string = DnaString {
            storage: Vec::new(),
            len: 0,
        };

        dna_string.extend(dna.chars().map(|c| base_to_bits(c as u8)));
        dna_string
    }
/// Create a DnaString corresponding to an ACGT-encoded str.
Create a DnaString corresponding to an ACGT-encoded str.
Create a DnaString corresponding to an ACGT - encoded str .
pub fn from_dna_string(dna: &str) -> DnaString {
        let mut dna_string = DnaString {
            storage: Vec::new(),
            len: 0,
        };
        dna_string.extend(dna.chars().map(|c| base_to_bits(c as u8)));
        dna_string
    }
pub fn from_dna_string ( dna : & str ) -> DnaString { let mut dna_string = DnaString { storage : Vec :: new ( ) , len : 0 , } ; dna_string . extend ( dna . chars ( ) . map ( | c | base_to_bits ( c as u8 ) ) ) ; dna_string }
Create a DnaString corresponding to an ACGT-encoded str.
Create a DnaString corresponding to an ACGT - encoded str .
dna
&str
dna
&str