Skip to content

ImportItem

An item bound from a module, as in import foo: - bar.

Inherits from: Import

Fields

is_pub @ Bool

Whether the item was imported pub.

item @ Span

The span of the item name within the module.

type_only @ Bool

Whether the item was imported with @, for types only. Such an item binds no variable.