Enum calc::ast::HistoryIndexKind[][src]

pub enum HistoryIndexKind {
    Relative,
    Absolute,
}

What kind of history lookup is desired.

Absolute history lookups begin at 0 and increment. Relative history lookups count backwards from the current expression.

Variants

Relative
Absolute

Trait Implementations

impl Clone for HistoryIndexKind[src]

impl Copy for HistoryIndexKind[src]

impl Debug for HistoryIndexKind[src]

impl Eq for HistoryIndexKind[src]

impl PartialEq<HistoryIndexKind> for HistoryIndexKind[src]

impl StructuralEq for HistoryIndexKind[src]

impl StructuralPartialEq for HistoryIndexKind[src]

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