gen_handler_struct

Function gen_handler_struct 

Source
fn gen_handler_struct(
    struct_name: &Ident,
    fields: &[LayoutField<'_>],
    mod_ident: &Ident,
) -> TokenStream
Expand description

Generate a handler struct for the storable type.

The handler provides type-safe access to both the full struct and individual fields.