Module types

Module types 

Source
Expand description

Types and data structures for EPUB processing

This module defines all the core data structures used throughout the EPUB library. These structures represent the various components of an EPUB publication according to the EPUB specification, including metadata, manifest items, spine items, navigation points, and encryption information.

The types in this module are designed to be compatible with both EPUB 2 and EPUB 3 specifications, providing a unified interface for working with different versions of EPUB publications.

§Main Components

§Builder Pattern

Many of these types implement a builder pattern for easier construction when the builder feature is enabled. See individual type documentation for details.

Structs§

EncryptionData
Represents encryption information for EPUB resources
ManifestItem
Represents a resource item declared in the EPUB manifest
MetadataItem
Represents a metadata item in the EPUB publication
MetadataLinkItem
Represents a metadata link item in an EPUB publication
MetadataRefinement
Represents a refinement of a metadata item in an EPUB 3.0 publication
NavPoint
Represents a navigation point in an EPUB document’s table of contents
SpineItem
Represents an item in the EPUB spine, defining the reading order of the publication

Enums§

EpubVersion
Represents the EPUB version