Derive Macro FromRegex

Source
#[derive(FromRegex)]
{
    // Attributes available to this derive:
    #[from_regex]
}
Expand description

§Derive FromRegex

§Implementation Notes

  • Default implementations of from_regex will only match if the entire string is matched

§Usage with Structs

§Item Level Attributes

§Usage with Enums

§Item Level Attributes

  • Match Mode: TODO