pub enum Book {
Path(PathBuf),
Bytes(Vec<u8>),
}Expand description
A book: a .postext file, a book folder or a Markdown file, or the bytes
of a .postext bundle (written to a temporary file for the run).
Variants§
Trait Implementations§
impl Eq for Book
impl StructuralPartialEq for Book
Auto Trait Implementations§
impl Forget for Book
impl Freeze for Book
impl Move for Book
impl RefUnwindSafe for Book
impl Send for Book
impl Sync for Book
impl Unpin for Book
impl UnsafeUnpin for Book
impl UnwindSafe for Book
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