pub struct DocumentationResult {
pub path: PathBuf,
pub doc_type: DocType,
pub nodes: Vec<KnowledgeNode>,
}Expand description
Result of parsing a single documentation file.
Fields§
§path: PathBufThe path to the documentation file (relative to project root).
doc_type: DocTypeThe type of documentation file.
nodes: Vec<KnowledgeNode>Knowledge nodes extracted from this file.
Trait Implementations§
Source§impl Clone for DocumentationResult
impl Clone for DocumentationResult
Source§fn clone(&self) -> DocumentationResult
fn clone(&self) -> DocumentationResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DocumentationResult
impl RefUnwindSafe for DocumentationResult
impl Send for DocumentationResult
impl Sync for DocumentationResult
impl Unpin for DocumentationResult
impl UnsafeUnpin for DocumentationResult
impl UnwindSafe for DocumentationResult
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