CombineSubstructureFunc in rustc_builtin_macros::deriving::generic - Rust
Description: Combine the values of all the fields together. The last argument is all the fields of all the structures.

Skip to main content

## CombineSubstructureFunc

# Type Alias CombineSubstructureFunc

Source

    pub(crate) type CombineSubstructureFunc<'a> = Box<dyn FnMut(&ExtCtxt<'_>, Span, &Substructure<'_>) -> BlockOrExpr + 'a>;

Expand description

Combine the values of all the fields together. The last argument is all the fields of all the structures.

## Aliased Type§

    pub(crate) struct CombineSubstructureFunc<'a>(/* private fields */);

## 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