pub struct SectionNumber {
pub number: u32,
pub expected: u32,
}Expand description
A chapter’s or part’s number, from Book::section_numbers.
Fields§
§number: u32The number shown.
expected: u32The number that follows the last one of its kind (what Auto
gives); an Explicit number other than this is out of sequence.
Trait Implementations§
Source§impl Clone for SectionNumber
impl Clone for SectionNumber
impl Copy for SectionNumber
Source§impl Debug for SectionNumber
impl Debug for SectionNumber
impl Eq for SectionNumber
Source§impl PartialEq for SectionNumber
impl PartialEq for SectionNumber
impl StructuralPartialEq for SectionNumber
Auto Trait Implementations§
impl Freeze for SectionNumber
impl RefUnwindSafe for SectionNumber
impl Send for SectionNumber
impl Sync for SectionNumber
impl Unpin for SectionNumber
impl UnsafeUnpin for SectionNumber
impl UnwindSafe for SectionNumber
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> 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.