/// Whether this rib kind contains generic parameters, as opposed to local
/// variables.
Whether this rib kind contains generic parameters, as opposed to local
variables.
Whether this rib kind contains generic parameters as opposed to local variables .
crate fn contains_params(&self) -> bool {
        match self {
            NormalRibKind
            | ClosureOrAsyncRibKind
            | FnItemRibKind
            | ConstantItemRibKind(..)
            | ModuleRibKind(_)
            | MacroDefinition(_)
            | ConstParamTyRibKind => false,
            AssocItemRibKind | ItemRibKind(_) | ForwardGenericParamBanRibKind => true,
        }
    }
crate fn contains_params ( & self ) -> bool { match self { NormalRibKind | ClosureOrAsyncRibKind | FnItemRibKind | ConstantItemRibKind ( .. ) | ModuleRibKind ( _ ) | MacroDefinition ( _ ) | ConstParamTyRibKind => false , AssocItemRibKind | ItemRibKind ( _ ) | ForwardGenericParamBanRibKind => true , } }
Whether this rib kind contains generic parameters, as opposed to local
variables.
Whether this rib kind contains generic parameters as opposed to local variables .
&self