#[non_exhaustive]pub struct PageList {
pub pages: Vec<String>,
pub notes: Vec<Note>,
}Expand description
A parsed page list: {"src": ["pages/Index", …]}.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.pages: Vec<String>Page paths relative to the module’s ets/ directory, without
extension, in file order.
notes: Vec<Note>Fields that were present but wrongly typed, and so skipped.
Implementations§
Trait Implementations§
impl Eq for PageList
impl StructuralPartialEq for PageList
Auto Trait Implementations§
impl Forget for PageList
impl Freeze for PageList
impl Move for PageList
impl RefUnwindSafe for PageList
impl Send for PageList
impl Sync for PageList
impl Unpin for PageList
impl UnsafeUnpin for PageList
impl UnwindSafe for PageList
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