pub struct Package {
pub meta: Metadata,
pub spine: Vec<String>,
}Expand description
What the package document says: metadata plus the spine, in reading order.
Fields§
§meta: Metadata§spine: Vec<String>Chapter hrefs, relative to the package document.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Package
Auto Trait Implementations§
impl Freeze for Package
impl RefUnwindSafe for Package
impl Send for Package
impl Sync for Package
impl Unpin for Package
impl UnsafeUnpin for Package
impl UnwindSafe for Package
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