Function rustdoc::html::render::get_filtered_impls_for_reference

source ·
pub(crate) fn get_filtered_impls_for_reference<'a>(
    shared: &'a Rc<SharedContext<'_>>,
    it: &Item
) -> (Vec<&'a Impl>, Vec<&'a Impl>, Vec<&'a Impl>)
Expand description

Returns the list of implementations for the primitive reference type, filtering out any implementations that are on concrete or partially generic types, only keeping implementations of the form impl<T> Trait for &T.