Skip to main content

define_struct_with_new

Macro define_struct_with_new 

Source
macro_rules! define_struct_with_new {
    ($struct_name:ident { $($field:ident: $ty:ty $(= $init:expr)?),* }) => { ... };
}