Skip to main content

is_default

Function is_default 

Source
pub fn is_default(module: &Name) -> bool
Expand description

Whether module is one of the modules the default imports name.

Such a module receives none of them when its package is zelkova-core (implicit_imports) — the only package a module of this name may belong to, since resolve::visible_modules rejects any other package that declares one (see this module’s documentation).