Struct eva_common::IEID
source · pub struct IEID(_, _);Implementations§
source§impl IEID
impl IEID
pub fn new(b: u64, i: u64) -> Self
pub fn is_phantom(&self) -> bool
pub fn mark_phantom(&mut self)
sourcepub fn other_is_newer(&self, other: &IEID) -> bool
pub fn other_is_newer(&self, other: &IEID) -> bool
Other IEID is newer than current
sourcepub fn other_is_less_or_equal(&self, other: &IEID) -> bool
pub fn other_is_less_or_equal(&self, other: &IEID) -> bool
Other IEID is less or equal to the current
Trait Implementations§
source§impl<'de> Deserialize<'de> for IEID
impl<'de> Deserialize<'de> for IEID
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<IEID> for IEID
impl PartialEq<IEID> for IEID
source§impl PartialOrd<IEID> for IEID
impl PartialOrd<IEID> for IEID
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 moreimpl Copy for IEID
impl Eq for IEID
impl StructuralEq for IEID
impl StructuralPartialEq for IEID
Auto Trait Implementations§
impl RefUnwindSafe for IEID
impl Send for IEID
impl Sync for IEID
impl Unpin for IEID
impl UnwindSafe for IEID
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more