pub struct Footnote {
pub locate: usize,
pub content: String,
}Expand description
Represents a footnote in an EPUB content document
This structure represents a footnote in an EPUB content document. It contains the location within the content document and the content of the footnote.
Fields§
§locate: usizeThe position/location of the footnote reference in the content
content: StringThe text content of the footnote
Trait Implementations§
impl Eq for Footnote
Source§impl Ord for Footnote
Available on crate feature content-builder only.
impl Ord for Footnote
Available on crate feature
content-builder only.1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Footnote
Available on crate feature content-builder only.
impl PartialOrd for Footnote
Available on crate feature
content-builder only.impl StructuralPartialEq for Footnote
Auto Trait Implementations§
impl Freeze for Footnote
impl RefUnwindSafe for Footnote
impl Send for Footnote
impl Sync for Footnote
impl Unpin for Footnote
impl UnsafeUnpin for Footnote
impl UnwindSafe for Footnote
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.