pub struct Surface {
pub items: BTreeMap<String, ItemInfo>,
pub members: BTreeMap<String, ItemInfo>,
}Expand description
Public items keyed by full path (crate::module::item).
Fields§
§items: BTreeMap<String, ItemInfo>§members: BTreeMap<String, ItemInfo>Pub methods and associated consts of inherent impls, keyed
type_path::name. Kept apart from items so the API reference and
the API diff list top-level items only; Surface::counted joins
the two for coverage.
Implementations§
Source§impl Surface
impl Surface
Sourcepub fn counted(&self) -> Vec<Counted<'_>>
pub fn counted(&self) -> Vec<Counted<'_>>
Every item and every pub inherent method, deduplicated across pub use aliases and in path order. Trait-impl methods are never indexed
and rustdoc omits #[doc(hidden)] items, so neither is counted.
Every top-level item kind counts, plus inherent methods; associated
consts do not.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Surface
impl Freeze for Surface
impl Move for Surface
impl RefUnwindSafe for Surface
impl Send for Surface
impl Sync for Surface
impl Unpin for Surface
impl UnsafeUnpin for Surfacewhere
*const LeafNode<String, ItemInfo> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, ItemInfo)>>: UnsafeUnpin,
impl UnwindSafe for Surface
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