Struct watchmaker_vm::Architecture
source · [−]pub struct Architecture {
pub iinput: u16,
pub istate: u16,
pub ioutput: u16,
pub dinput: u16,
pub dstate: u16,
pub doutput: u16,
}
Expand description
Specifies the memory architecture of a virtual machine.
Fields
iinput: u16
II: linear array of integer input registers
istate: u16
IS: linear array of integer state registers
ioutput: u16
IO: linear array of integer output registers
dinput: u16
DI: linear array of double precision floating point input registers
dstate: u16
DS: linear array of double precision floating point state registers
doutput: u16
DO: linear array of double precision floating point output registers
Trait Implementations
sourceimpl Clone for Architecture
impl Clone for Architecture
sourcefn clone(&self) -> Architecture
fn clone(&self) -> Architecture
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Architecture
impl Debug for Architecture
sourceimpl PartialEq<Architecture> for Architecture
impl PartialEq<Architecture> for Architecture
sourcefn eq(&self, other: &Architecture) -> bool
fn eq(&self, other: &Architecture) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Architecture) -> bool
fn ne(&self, other: &Architecture) -> bool
This method tests for !=
.
impl StructuralPartialEq for Architecture
Auto Trait Implementations
impl RefUnwindSafe for Architecture
impl Send for Architecture
impl Sync for Architecture
impl Unpin for Architecture
impl UnwindSafe for Architecture
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more