pub struct BlueprintDoc {
pub path: String,
pub title: String,
pub sections: Vec<Section>,
pub links: Vec<WikiLink>,
}Expand description
A fully-parsed blueprint: title, section structure, and authored links.
Fields§
§path: StringRepository-relative path of the blueprint file.
title: StringTitle, from the first # heading (or the file stem).
sections: Vec<Section>## sections in document order.
links: Vec<WikiLink>Authored [[…]] links in document order.
Implementations§
Source§impl BlueprintDoc
impl BlueprintDoc
Trait Implementations§
Source§impl Clone for BlueprintDoc
impl Clone for BlueprintDoc
Source§fn clone(&self) -> BlueprintDoc
fn clone(&self) -> BlueprintDoc
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 moreSource§impl Debug for BlueprintDoc
impl Debug for BlueprintDoc
impl Eq for BlueprintDoc
Source§impl PartialEq for BlueprintDoc
impl PartialEq for BlueprintDoc
impl StructuralPartialEq for BlueprintDoc
Auto Trait Implementations§
impl Freeze for BlueprintDoc
impl RefUnwindSafe for BlueprintDoc
impl Send for BlueprintDoc
impl Sync for BlueprintDoc
impl Unpin for BlueprintDoc
impl UnsafeUnpin for BlueprintDoc
impl UnwindSafe for BlueprintDoc
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.