Trait autoincrement::Incremental[][src]

pub trait Incremental: Sized {
    fn initial() -> Self;
fn get_next(current: &Self) -> Self; fn init() -> AutoIncrement<Self> { ... }
fn init_with(value: Self) -> AutoIncrement<Self> { ... }
fn init_from(self) -> AutoIncrement<Self> { ... } }
Expand description

Trait for implementing over non-thread-safe incremental types

Required methods

Provided methods

Implementors