pub struct Outline {
pub parts: Vec<Part>,
pub pages: Vec<Authored>,
}Fields§
§parts: Vec<Part>§pages: Vec<Authored>Implementations§
Source§impl Outline
impl Outline
Sourcepub fn load(suite: &Suite, dir: &Path) -> Option<(Outline, Vec<String>)>
pub fn load(suite: &Suite, dir: &Path) -> Option<(Outline, Vec<String>)>
The outline in dir, if it has one. Problems (an unknown section, a missing page) are
returned as warnings; the outline then leaves that entry out.
Auto Trait Implementations§
impl Freeze for Outline
impl RefUnwindSafe for Outline
impl Send for Outline
impl Sync for Outline
impl Unpin for Outline
impl UnsafeUnpin for Outline
impl UnwindSafe for Outline
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