Struct crdts::dot::OrdDot [−][src]
An ordered dot. dot’s are first ordered by actor, dots from the same actor are ordered by counter.
Fields
actor: A
The actor who created this dot.
counter: u64
The current counter of this actor.
Trait Implementations
impl<A: Clone + Ord> Clone for OrdDot<A>
[src]
impl<A: Debug + Ord> Debug for OrdDot<A>
[src]
impl<'de, A: Ord> Deserialize<'de> for OrdDot<A> where
A: Deserialize<'de>,
[src]
A: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<A: Debug + Ord> Display for OrdDot<A>
[src]
impl<A: Eq + Ord> Eq for OrdDot<A>
[src]
impl<A: Ord> From<Dot<A>> for OrdDot<A>
[src]
impl<A: Ord> From<OrdDot<A>> for Dot<A>
[src]
impl<A: Hash + Ord> Hash for OrdDot<A>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<A: Ord> Ord for OrdDot<A>
[src]
fn cmp(&self, other: &OrdDot<A>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]
pub fn max(self, other: Self) -> Self#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]
pub fn min(self, other: Self) -> Self#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
#[must_use]
pub fn clamp(self, min: Self, max: Self) -> Selfimpl<A: PartialEq + Ord> PartialEq<OrdDot<A>> for OrdDot<A>
[src]
impl<A: PartialOrd + Ord> PartialOrd<OrdDot<A>> for OrdDot<A>
[src]
fn partial_cmp(&self, other: &OrdDot<A>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl<A: Ord> Serialize for OrdDot<A> where
A: Serialize,
[src]
A: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<A: Ord> StructuralEq for OrdDot<A>
[src]
impl<A: Ord> StructuralPartialEq for OrdDot<A>
[src]
Auto Trait Implementations
impl<A> RefUnwindSafe for OrdDot<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
impl<A> Send for OrdDot<A> where
A: Send,
A: Send,
impl<A> Sync for OrdDot<A> where
A: Sync,
A: Sync,
impl<A> Unpin for OrdDot<A> where
A: Unpin,
A: Unpin,
impl<A> UnwindSafe for OrdDot<A> where
A: UnwindSafe,
A: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,