pub struct NavigationGuide {
pub items: Vec<NavigationGuideLine>,
pub prologue: Option<String>,
pub epilogue: Option<String>,
}
Expand description
Represents a complete navigation guide
Fields§
§items: Vec<NavigationGuideLine>
The root items in the guide
prologue: Option<String>
The original prologue content (before the guide block)
epilogue: Option<String>
The original epilogue content (after the guide block)
Implementations§
Sourcepub fn get_full_path(&self, item: &NavigationGuideLine) -> PathBuf
pub fn get_full_path(&self, item: &NavigationGuideLine) -> PathBuf
Get the full path for an item by traversing up the hierarchy
Trait Implementations§
Source§fn clone(&self) -> NavigationGuide
fn clone(&self) -> NavigationGuide
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 moreSource§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
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