render_short_struct_summary

render_short_struct_summary#

penzai.treescope.handlers.penzai.struct_handler.render_short_struct_summary(the_struct: struct.Struct) part_interface.RenderableTreePart[source]#

Renders a short summary of a struct.

Can be used by other handlers that manipulate structs.

Parameters:

the_struct – Struct to render.

Returns:

A short, single-line summary of the struct.