pub struct DocIR {
pub module_name: String,
pub items: Vec<DocIRItem>,
}Expand description
Documentation IR — a flat list of documented declarations from one module.
Produced by emit_doc_ir and consumed by oxilean-doc to generate
documentation without re-parsing the source file.
Fields§
§module_name: StringThe module name (typically the file path without extension).
items: Vec<DocIRItem>Documented declarations in declaration order.
Implementations§
Trait Implementations§
impl StructuralPartialEq for DocIR
Auto Trait Implementations§
impl Freeze for DocIR
impl RefUnwindSafe for DocIR
impl Send for DocIR
impl Sync for DocIR
impl Unpin for DocIR
impl UnsafeUnpin for DocIR
impl UnwindSafe for DocIR
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