Crate recordstruct

Source

Macrosยง

record
Creates a struct that resembles a record. A record automatically has the members of the argument, generates a ::new() function and sets the variables.