pub struct ChapterId(pub u32);Expand description
Unique identifier for a chapter/spine item within a book.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Ord for ChapterId
impl Ord for ChapterId
Source§impl PartialOrd for ChapterId
impl PartialOrd for ChapterId
impl Copy for ChapterId
impl Eq for ChapterId
impl StructuralPartialEq for ChapterId
Auto Trait Implementations§
impl Freeze for ChapterId
impl RefUnwindSafe for ChapterId
impl Send for ChapterId
impl Sync for ChapterId
impl Unpin for ChapterId
impl UnwindSafe for ChapterId
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.