Struct epub::doc::NavPoint [−][src]
Struct that represent a navigation point in a table of content
Fields
label: String
the title of this navpoint
content: PathBuf
the resource path
play_order: usize
the order in the toc
Trait Implementations
impl Eq for NavPoint
[src]
impl Eq for NavPoint
impl Ord for NavPoint
[src]
impl Ord for NavPoint
fn cmp(&self, other: &NavPoint) -> Ordering
[src]
fn cmp(&self, other: &NavPoint) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl PartialOrd for NavPoint
[src]
impl PartialOrd for NavPoint
fn partial_cmp(&self, other: &NavPoint) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &NavPoint) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl PartialEq for NavPoint
[src]
impl PartialEq for NavPoint