Skip to main content

default_fields_name

Function default_fields_name 

Source
pub fn default_fields_name(interface: &Ident) -> Ident
Expand description

What an interface’s CONTRACT trait is called: <Interface>Fields.

The projections every member answers — one method per declared field, whatever tier it is in. Named for what it is about rather than for what it does, as the declaration’s own fields(…) block is.