Struct melib::imap::cache::ModSequence
source · pub struct ModSequence(pub NonZeroU64);
Tuple Fields§
§0: NonZeroU64
Trait Implementations§
source§impl Clone for ModSequence
impl Clone for ModSequence
source§fn clone(&self) -> ModSequence
fn clone(&self) -> ModSequence
Returns a copy 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 ModSequence
impl Debug for ModSequence
source§impl Display for ModSequence
impl Display for ModSequence
source§impl Hash for ModSequence
impl Hash for ModSequence
source§impl Ord for ModSequence
impl Ord for ModSequence
source§fn cmp(&self, other: &ModSequence) -> Ordering
fn cmp(&self, other: &ModSequence) -> Ordering
1.21.0 · 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 PartialEq for ModSequence
impl PartialEq for ModSequence
source§fn eq(&self, other: &ModSequence) -> bool
fn eq(&self, other: &ModSequence) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ModSequence
impl PartialOrd for ModSequence
source§fn partial_cmp(&self, other: &ModSequence) -> Option<Ordering>
fn partial_cmp(&self, other: &ModSequence) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
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 moresource§impl TryFrom<i64> for ModSequence
impl TryFrom<i64> for ModSequence
impl Copy for ModSequence
impl Eq for ModSequence
impl StructuralPartialEq for ModSequence
Auto Trait Implementations§
impl Freeze for ModSequence
impl RefUnwindSafe for ModSequence
impl Send for ModSequence
impl Sync for ModSequence
impl Unpin for ModSequence
impl UnwindSafe for ModSequence
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<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.