I've found the following solution to create a macro that defines a function which returns true if an enum matches a variant: macro_rules! is_variant ... 2020-12 ...
確定! 回上一頁