[][src]Macro aa_regex::any_of

any_of!() { /* proc-macro */ }

Any of the selected amino acids

Usage

#[macro_use]
 use aa_regex::any_of;

let one = any_of!(P);
assert_eq!(one, "P");

let some = any_of!(C, D, E);
assert_eq!(some, "[CDE]")

Compilation errors

Compilation will fail if:

  • non amino acid characters are used
  • an amino acid was already added
  • no amino acid to add