[][src]Enum ergo_lib::chain::ergo_box::RegisterId

pub enum RegisterId {
    MandatoryRegisterId(MandatoryRegisterId),
    NonMandatoryRegisterId(NonMandatoryRegisterId),
}

Box register id (0-9)

Variants

MandatoryRegisterId(MandatoryRegisterId)

Id for mandatory registers (0-3)

NonMandatoryRegisterId(NonMandatoryRegisterId)

Id for non-mandotory registers (4-9)

Implementations

impl RegisterId[src]

pub const R0: RegisterId[src]

R0 register id (box.value)

Trait Implementations

impl Clone for RegisterId[src]

impl Copy for RegisterId[src]

impl Debug for RegisterId[src]

impl Eq for RegisterId[src]

impl PartialEq<RegisterId> for RegisterId[src]

impl SigmaSerializable for RegisterId[src]

impl StructuralEq for RegisterId[src]

impl StructuralPartialEq for RegisterId[src]

impl TryFrom<i8> for RegisterId[src]

type Error = RegisterIdOutOfBounds

The type returned in the event of a conversion error.

Auto Trait Implementations

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

impl<F> TryExtractInto<F> for F[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>,