leo_ast::expressions

Module struct_init

Source

Structsยง

  • A struct initialization expression, e.g., Foo { bar: 42, baz }.
  • An initializer for a single field / variable of a struct initializer expression. That is, in Foo { bar: 42, baz }, this is either bar: 42, or baz.