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