pub struct Part {
pub name: String,
pub chunk_indices: Vec<usize>,
pub loc: usize,
}Expand description
One cohesive module: a cluster of related items.
Fields§
§name: StringA content-derived module name: the title of the first section banner
heading one of its items, else the cluster’s dominant item. Never a
crate name such as core or a keyword.
chunk_indices: Vec<usize>Chunk indices packed here, in source order.
loc: usizeTotal LOC; always < max_loc.
Trait Implementations§
impl Eq for Part
impl StructuralPartialEq for Part
Auto Trait Implementations§
impl Freeze for Part
impl RefUnwindSafe for Part
impl Send for Part
impl Sync for Part
impl Unpin for Part
impl UnsafeUnpin for Part
impl UnwindSafe for Part
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