pub struct ItemGroup<'a> {
pub representative: &'a String,
pub aliases: Vec<&'a String>,
}Expand description
One distinct item, grouped by (kind, fingerprint) to collapse the extra
path keys alias_reexports adds for the same underlying function —
representative is the shortest path (for display), aliases holds
every spelling (for lookups, since a covers= tag may name any of them).
Un-fingerprinted items (span unreadable) are never merged with others.
Fields§
§representative: &'a String§aliases: Vec<&'a String>Auto Trait Implementations§
impl<'a> Freeze for ItemGroup<'a>
impl<'a> RefUnwindSafe for ItemGroup<'a>
impl<'a> Send for ItemGroup<'a>
impl<'a> Sync for ItemGroup<'a>
impl<'a> Unpin for ItemGroup<'a>
impl<'a> UnsafeUnpin for ItemGroup<'a>
impl<'a> UnwindSafe for ItemGroup<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more