Enum calc::ast::HistoryIndexKind
source · [−]pub enum HistoryIndexKind {
Relative,
Absolute,
}
Expand description
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
sourceimpl Clone for HistoryIndexKind
impl Clone for HistoryIndexKind
sourcefn clone(&self) -> HistoryIndexKind
fn clone(&self) -> HistoryIndexKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for HistoryIndexKind
impl Debug for HistoryIndexKind
sourceimpl PartialEq<HistoryIndexKind> for HistoryIndexKind
impl PartialEq<HistoryIndexKind> for HistoryIndexKind
impl Copy for HistoryIndexKind
impl Eq for HistoryIndexKind
impl StructuralEq for HistoryIndexKind
impl StructuralPartialEq for HistoryIndexKind
Auto Trait Implementations
impl RefUnwindSafe for HistoryIndexKind
impl Send for HistoryIndexKind
impl Sync for HistoryIndexKind
impl Unpin for HistoryIndexKind
impl UnwindSafe for HistoryIndexKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more