[−][src]Derive Macro oars_proc_macro::Checked
#[derive(Checked)]
Create a copy of the struct suffixed by "Checked"
This macro exists to provide a convenient way to derive the checked variants of constructors
for oars. In oars, the pattern for creating constructors with checked parameters involves
creating an identical struct, usually suffixed by "Checked" (so the checked variant of Bose
is BoseChecked
). This macro automatically creates an identical struct but with a different
name, for convenience.