OxL Reference

2.3 Visibility

ModifierVisible
(none)inside the module
pubinside 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.

private-in-public, visibility

See also

Source: docs/spec/oxl-standard.en.md