macro_rules! structure { ( $variant:path { $( $field:ident : $matcher:expr ),* $(,)* } ) => { ... }; (@expand ( $variant:path ; $field:ident ; $m:expr ; $($wildcard:tt),* ) -> ($($body:tt)*) ) => { ... }; (@expand ( $variant:path ; $field:ident ; $m:expr , $($matchers:expr),* ; $($wildcard:tt),* ) -> ($($body:tt)*) ) => { ... }; (@generate ($field:ident ; $(($matcher:expr ; $pattern:pat)),*) ) => { ... }; ( $variant:path [ $( $matchers:expr ),* ] ) => { ... }; }
Expand description
Shorter name for has_structure!
.