pub struct ChapterRef {
pub index: usize,
pub idref: String,
pub href: String,
pub media_type: String,
}Expand description
Lightweight chapter descriptor in spine order.
Fields§
§index: usizeSpine position index.
idref: StringSpine idref.
href: StringManifest href relative to OPF.
media_type: StringManifest media type.
Trait Implementations§
Source§impl Clone for ChapterRef
impl Clone for ChapterRef
Source§fn clone(&self) -> ChapterRef
fn clone(&self) -> ChapterRef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChapterRef
impl Debug for ChapterRef
Source§impl PartialEq for ChapterRef
impl PartialEq for ChapterRef
impl Eq for ChapterRef
impl StructuralPartialEq for ChapterRef
Auto Trait Implementations§
impl Freeze for ChapterRef
impl RefUnwindSafe for ChapterRef
impl Send for ChapterRef
impl Sync for ChapterRef
impl Unpin for ChapterRef
impl UnsafeUnpin for ChapterRef
impl UnwindSafe for ChapterRef
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