Skip to main content

matches_module_prefix

Function matches_module_prefix 

Source
const fn matches_module_prefix(module: &str, prefix: &str) -> bool
Expand description

モジュールパスが prefix と完全一致、または prefix::... の配下かを判定する(コンパイル時評価可能)。