Symbol visibility
pub fn public_function() {
}
fn private_function() {
}
Functions are private (not exported) by default.
To allow other modules to use them, prepend pub. The same applies
to structs, constants and types.
[!NOTE]
pubcan only be used from a named module. For information about creating a module, see Modules.