crate fn contains_params(&self) -> bool {
        match self {
            NormalRibKind
            | ClosureOrAsyncRibKind
            | FnItemRibKind
            | ConstantItemRibKind
            | ModuleRibKind(_)
            | MacroDefinition(_) => false,
            AssocItemRibKind | ItemRibKind(_) | ForwardTyParamBanRibKind => 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.
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(_) => false,
            AssocItemRibKind | ItemRibKind(_) | ForwardTyParamBanRibKind => true,
        }
    }
crate fn contains_params ( & self ) -> bool { match self { NormalRibKind | ClosureOrAsyncRibKind | FnItemRibKind | ConstantItemRibKind | ModuleRibKind ( _ ) | MacroDefinition ( _ ) => false , AssocItemRibKind | ItemRibKind ( _ ) | ForwardTyParamBanRibKind => 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
&self