Type Definition rustc_builtin_macros::deriving::generic::EnumNonMatchCollapsedFunc
source · [−]pub type EnumNonMatchCollapsedFunc<'a> = Box<dyn FnMut(&mut ExtCtxt<'_>, Span, &[Ident]) -> P<Expr> + 'a>;Expand description
Deal with non-matching enum variants. The slice is the identifiers holding
the variant index value for each of the Self arguments.
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes