pub struct ModuleNode {
pub path: String,
pub doc_summary: String,
pub item_counts: HashMap<String, usize>,
pub items: Vec<ItemSummary>,
pub children: Vec<ModuleNode>,
}Fields§
§path: String§doc_summary: String§item_counts: HashMap<String, usize>Count of each item kind directly inside this module (excludes “use”/“import” noise).
items: Vec<ItemSummary>Direct non-module items (structs, fns, traits, etc.) — populated for include_items.
children: Vec<ModuleNode>Trait Implementations§
Source§impl Clone for ModuleNode
impl Clone for ModuleNode
Source§fn clone(&self) -> ModuleNode
fn clone(&self) -> ModuleNode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ModuleNode
impl RefUnwindSafe for ModuleNode
impl Send for ModuleNode
impl Sync for ModuleNode
impl Unpin for ModuleNode
impl UnsafeUnpin for ModuleNode
impl UnwindSafe for ModuleNode
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