Struct crdts::dot::OrdDot[][src]

pub struct OrdDot<A: Ord> {
    pub actor: A,
    pub counter: u64,
}

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]

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]

impl<A: Ord> Ord for OrdDot<A>[src]

impl<A: PartialEq + Ord> PartialEq<OrdDot<A>> for OrdDot<A>[src]

impl<A: PartialOrd + Ord> PartialOrd<OrdDot<A>> for OrdDot<A>[src]

impl<A: Ord> Serialize for OrdDot<A> where
    A: Serialize
[src]

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

impl<A> Send for OrdDot<A> where
    A: Send

impl<A> Sync for OrdDot<A> where
    A: Sync

impl<A> Unpin for OrdDot<A> where
    A: Unpin

impl<A> UnwindSafe for OrdDot<A> where
    A: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,