pub trait NumericCellExt<T> where
    T: Copy + Add<T> + Sub<T>, 
{ fn add(&self, val: T); fn subtract(&self, val: T); fn increment(&self); fn decrement(&self); fn get_and_increment(&self) -> T; fn get_and_decrement(&self) -> T; }

Required Methods

Add the passed in val to the stored value.

Subtract the passed in val from the stored value.

Add 1 to the stored value.

Subtract 1 from the stored value.

Return the current value and then add 1 to the stored value.

Return the current value and then subtract 1 from the stored value.

Implementations on Foreign Types

Implementors