pub fn prefix(&self, k: usize) -> DnaStringSlice<'_> {
        assert!(k <= self.len, "Prefix size exceeds number of elements.");
        DnaStringSlice {
            dna_string: self,
            start: 0,
            length: k,
            is_rc: false,
        }
    }
/// Get the length `k` prefix of the DnaString
Get the length `k` prefix of the DnaString
Get the length ` k ` prefix of the DnaString
pub fn prefix(&self, k: usize) -> DnaStringSlice<'_> {
        assert!(k <= self.len, "Prefix size exceeds number of elements.");
        DnaStringSlice {
            dna_string: self,
            start: 0,
            length: k,
            is_rc: false,
        }
    }
pub fn prefix ( & self , k : usize ) -> DnaStringSlice < ' _ > { assert ! ( k self len " " ) ; DnaStringSlice { dna_string : self , start : 0 , length : k , is_rc : false , } }
Get the length `k` prefix of the DnaString
Get the length ` k ` prefix of the DnaString
&self
k
usize
&self
k
usize