Derive Macro quork_proc::New
source · #[derive(New)]
Expand description
Implement new
fn for structs
Will follow the form of new(field: Type, ...) -> Self
, where all fields are required.
#[derive(New)]
Implement new
fn for structs
Will follow the form of new(field: Type, ...) -> Self
, where all fields are required.