Function encode_mutations

Source
pub fn encode_mutations(
    mutations: &[Mutation],
) -> impl Iterator<Item = Word> + use<'_>
Expand description

Encodes a slice of mutations into a sequence of words.

ยงLayout

+-----------------+-----------------+-----------------+-----------------+
| num mutations   | mutation 1      | mutation 2      | ...             |
+-----------------+-----------------+-----------------+-----------------+