Crate restructure [−] [src]
restructure crate provides functionalities to match regexp patterns
into struct fields. This crate now builds on rust-stable.
To use this, add the following to your
[dependencies] restructure = "0.1.1"
and add this to your crate root:
extern crate regex;
Create a struct with regex patterns and implements RegexStruct trait on it.
This trait allows you to match struct fields with regexp