[][src]Enum epub_builder::ReferenceType

pub enum ReferenceType {
    Cover,
    TitlePage,
    Toc,
    Index,
    Glossary,
    Acknowledgements,
    Bibliography,
    Colophon,
    Copyright,
    Dedication,
    Epigraph,
    Foreword,
    Loi,
    Lot,
    Notes,
    Preface,
    Text,
}

Represents the possible reference type of an EPUB page.

Used by the guide section of EPUB 2.0 and the lankmarks navigation section for EPUB 3.0.

For more information, see http://www.idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.3 and https://idpf.github.io/epub-vocabs/structure/

Variants

Cover

The Book cover(s) (this refers to the cover PAGE, not the cover IMAGE)

TitlePage

Page with title, author, publisher

Toc

Table of contents

Index

Index

Glossary

Glossary

Acknowledgements

Aknowledgements

Bibliography

Bibliography

Colophon

No idea what this might be

Copyright

Copyright page

Dedication

Dedication

Epigraph

Epigraph

Foreword

Foreword

Loi

List of illustrations

Lot

List of tables

Notes

Notes

Preface

Preface

Text

Beginning of the real content

Trait Implementations

impl PartialEq<ReferenceType> for ReferenceType[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Clone for ReferenceType[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for ReferenceType[src]

impl Debug for ReferenceType[src]

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

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

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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