pub struct Counted<'a> {
pub path: String,
pub aliases: Vec<&'a String>,
pub info: &'a ItemInfo,
}Expand description
One distinct public item or inherent method.
Fields§
§path: StringThe shortest spelling, for display.
aliases: Vec<&'a String>Every spelling, for lookups: a covers= tag or a bind may name any.
info: &'a ItemInfoWhat the surface records about the item.
Auto Trait Implementations§
impl<'a> Forget for Counted<'a>
impl<'a> Freeze for Counted<'a>
impl<'a> Move for Counted<'a>
impl<'a> RefUnwindSafe for Counted<'a>
impl<'a> Send for Counted<'a>
impl<'a> Sync for Counted<'a>where
RawVecInner: Sync,
impl<'a> Unpin for Counted<'a>
impl<'a> UnsafeUnpin for Counted<'a>where
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<&'a String>: UnsafeUnpin,
&'a ItemInfo: UnsafeUnpin,
impl<'a> UnwindSafe for Counted<'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