[][src]Struct stateright::semantics::register::Register

pub struct Register<T>(pub T);

A simple register used to define reference operational semantics via SequentialSpec.

Trait Implementations

impl<T: Clone> Clone for Register<T>[src]

impl<T: Debug> Debug for Register<T>[src]

impl<T: Default> Default for Register<T>[src]

impl<T: Hash> Hash for Register<T>[src]

impl<T: PartialEq> PartialEq<Register<T>> for Register<T>[src]

impl<T: Clone + Debug + PartialEq> SequentialSpec for Register<T>[src]

type Op = RegisterOp<T>

The type of operators. Often an enum.

type Ret = RegisterRet<T>

The type of values return by the operators. Often an enum or Option. Read more

impl<T> Serialize for Register<T> where
    T: Serialize
[src]

impl<T> StructuralPartialEq for Register<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Register<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for Register<T> where
    T: Send
[src]

impl<T> Sync for Register<T> where
    T: Sync
[src]

impl<T> Unpin for Register<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for Register<T> where
    T: UnwindSafe
[src]

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> 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, 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>,