Skip to main content

new_id_type

Macro new_id_type 

Source
macro_rules! new_id_type {
    () => { ... };
    (
        $(#[$meta:meta])*
        $vis:vis struct $name:ident;
        $($rest:tt)*
    ) => { ... };
}
Expand description

生成自定义 Id 类型的极简宏