Enum tis_100::core::Source
[−]
[src]
pub enum Source { VAL(isize), REG(Register), }
The source component of a TIS-100 instruction.
Variants
VAL(isize)
REG(Register)
Trait Implementations
impl Debug for Source
[src]
impl PartialEq for Source
[src]
fn eq(&self, __arg_0: &Source) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Source) -> bool
This method tests for !=
.
impl Copy for Source
[src]
impl Clone for Source
[src]
fn clone(&self) -> Source
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more