Trait restructure::RegexStruct [] [src]

pub trait RegexStruct {
    fn find(&self, text: &str) -> Self;
}

This trait allows you to match struct fields with regexp

Required Methods

This function takes a Slice, find Captures in it and assigns it to the appropriate struct fields

Implementors