Skip to main content

fields

Macro fields 

Source
macro_rules! fields {
    ($($name:ident => $builder:expr),* $(,)?) => { ... };
}
Expand description

直接生成原生 definition::Fields;重复字段由临时结构体在编译期拒绝。