Skip to main content

can_have_generics

Function can_have_generics 

Source
pub fn can_have_generics(kind: &DefKind) -> bool
Expand description

Whether the item can have generic parameters.