2.3 Visibility
| Modifier | Visible |
|---|---|
| (none) | inside the module |
pub | inside the package |
pub(api) | to everyone who depends on the package; part of the public API for SemVer checking |
The modifier applies to declarations and to the fields of data. A type in the signature of a visible declaration MUST be at least as visible as the declaration itself.
Related diagnostics
See also
Source: docs/spec/oxl-standard.en.md