[−][src]Trait cpclib_z80emu::HasValue
Common trait for Register 8 and 6 bits
Associated Types
type ValueType: Integer + One + WrappingAdd + WrappingSub
The type that encodes the value of interest
Required methods
fn value(&self) -> Self::ValueType
Retreive the stored value
fn set(&mut self, value: Self::ValueType)
Change the stored value