pub(crate) fn register_res(cx: &mut DocContext<'_>, res: Res) -> DefIdExpand description
If res has a documentation page associated, store it in the cache.
This is later used by href() to determine the HTML link for the item.
pub(crate) fn register_res(cx: &mut DocContext<'_>, res: Res) -> DefIdIf res has a documentation page associated, store it in the cache.
This is later used by href() to determine the HTML link for the item.