pub(crate) fn notable_trait_badges(
item: &Item,
cx: &Context<'_>,
) -> Vec<NotableTraitBadge>Expand description
Returns all #[doc(notable_trait)] traits that item implements, to be
rendered as badges at the top of the item’s page.
pub(crate) fn notable_trait_badges(
item: &Item,
cx: &Context<'_>,
) -> Vec<NotableTraitBadge>Returns all #[doc(notable_trait)] traits that item implements, to be
rendered as badges at the top of the item’s page.