[−][src]Struct mech_core::Core
Fields
id: u64epoch: usizeoffset: usizeround: usizechanges: usizestore: Internerruntime: Runtimechange_capacity: usizetable_capacity: usizeinput: HashSet<Register>output: HashSet<Register>paused: boolMethods
impl Core[src]
pub fn new(change_capacity: usize, table_capacity: usize) -> Core[src]
pub fn clear(&mut self)[src]
pub fn register_blocks(&mut self, blocks: Vec<Block>)[src]
pub fn last_transaction(&self) -> usize[src]
pub fn this_transaction(&self) -> usize[src]
pub fn step(&mut self)[src]
pub fn index(
&mut self,
table: u64,
row: &Index,
column: &Index
) -> Option<&Value>[src]
&mut self,
table: u64,
row: &Index,
column: &Index
) -> Option<&Value>
pub fn step_backward(&mut self, steps: usize)[src]
pub fn step_back_one(&mut self)[src]
pub fn step_forward(&mut self, steps: usize)[src]
pub fn step_forward_one(&mut self)[src]
pub fn resume(&mut self)[src]
pub fn pause(&mut self)[src]
pub fn process_transaction(&mut self, txn: &Transaction)[src]
pub fn capacity(&self) -> f64[src]
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> From for T[src]
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,