[][src]Struct bookbinder::BookSrc

pub struct BookSrc<'a> {
    pub metadata: Metadata<'a>,
    pub contents: Vec<BookEvent<'a>>,
    pub expected_appendices_count: usize,
    pub expected_epigraph_count: usize,
}

A processed book source ready to be rendered

Fields

metadata: Metadata<'a>

associated metadata of this book

contents: Vec<BookEvent<'a>>

the events which make up this book

expected_appendices_count: usize

the number of appendices in this book

expected_epigraph_count: usize

the number of epigraphs to this work

Implementations

impl<'a> BookSrc<'a>[src]

pub fn change_headers(&mut self, format: TextHeaderOptions)[src]

Change chapter and part headers to be of the specified format

Trait Implementations

impl<'a> Clone for BookSrc<'a>[src]

impl<'a> Debug for BookSrc<'a>[src]

impl<'a> Default for BookSrc<'a>[src]

impl<'_> EpubRenderer for BookSrc<'_>[src]

impl<'_> TexRenderer for BookSrc<'_>[src]

impl<'a> TryFrom<DeserializableBookSrc<'a>> for BookSrc<'a>[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<'a> RefUnwindSafe for BookSrc<'a>

impl<'a> Send for BookSrc<'a>

impl<'a> Sync for BookSrc<'a>

impl<'a> Unpin for BookSrc<'a>

impl<'a> UnwindSafe for BookSrc<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> PdfRenderer for T where
    T: TexRenderer
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,