Module tock_cells::num_cell[][src]

NumCell convenience type

Re-exports

use core::cell::Cell;
use core::marker::Copy;
use core::ops::Add;
use core::ops::Sub;

Structs

NumCell

NumCell is a simple wrapper around a Cell that restricts the type T to a number. NumCell then provides convenient methods, like increment and add. This means instead of this code: