pub struct EpubSpineEntry {
pub path: String,
pub section: Option<NodeId>,
}Expand description
One document of an EPUB’s spine.
Fields§
§path: StringWhere the document is in the container.
section: Option<NodeId>The node of the section the document holds. None for the
one empty document of a book with no sections.
Trait Implementations§
Source§impl Debug for EpubSpineEntry
impl Debug for EpubSpineEntry
Source§impl<'de> Deserialize<'de> for EpubSpineEntry
impl<'de> Deserialize<'de> for EpubSpineEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EpubSpineEntry
impl PartialEq for EpubSpineEntry
Source§impl Serialize for EpubSpineEntry
impl Serialize for EpubSpineEntry
impl StructuralPartialEq for EpubSpineEntry
Auto Trait Implementations§
impl Freeze for EpubSpineEntry
impl RefUnwindSafe for EpubSpineEntry
impl Send for EpubSpineEntry
impl Sync for EpubSpineEntry
impl Unpin for EpubSpineEntry
impl UnsafeUnpin for EpubSpineEntry
impl UnwindSafe for EpubSpineEntry
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.