Module hir_def::visibility

source ·
Expand description

Defines hir-level representation of visibility (e.g. pub and pub(crate)).

Enums§

  • Visibility of an item, not yet resolved.
  • Visibility of an item, with the path resolved.
  • Whether the item was imported through an explicit pub(crate) use or just a use without visibility.