Trait cpr_bf::BrainfuckCell

source ·
pub trait BrainfuckCell: Unsigned + Copy + Default + TryInto<u32> + From<u8> + WrappingAdd + WrappingSub + Debug { }
Expand description

This trait defines types that can be used as the datatype for a single cell of a Brainfuck VM. Can be implemented manually (although not recommended), but is already implemented for the default unsigned int types (u8, u16, etc.)

Object Safety§

This trait is not object safe.

Implementors§