pattern.rs 159 B

123456789101112
  1. #[derive(Eq, PartialEq)]
  2. enum NodeType {
  3. Send,
  4. Local,
  5. Const,
  6. Anything,
  7. }
  8. #[derive(Eq, PartialEq)]
  9. struct Pattern {
  10. node_type: NodeType,
  11. }