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 Forget for Package
impl Freeze for Package
impl Move for Package
impl RefUnwindSafe for Package
impl Send for Packagewhere
RawVecInner: Send,
impl Sync for Packagewhere
RawVecInner: Sync,
impl Unpin for Package
impl UnsafeUnpin for Packagewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Packagewhere
RawVecInner: UnwindSafe,
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