[−][src]Struct mech::Core
Fields
id: u64
epoch: usize
offset: usize
round: usize
changes: usize
store: Interner
runtime: Runtime
change_capacity: usize
table_capacity: usize
input: HashSet<Register, RandomState>
output: HashSet<Register, RandomState>
paused: bool
remote_tables: Vec<Arc<Table>>
Methods
impl Core
[src]
pub fn new(change_capacity: usize, table_capacity: usize) -> Core
[src]
pub fn clear(&mut self)
[src]
pub fn get_table(&mut self, table_name: String) -> Option<&Rc<RefCell<Table>>>
[src]
pub fn get_table_by_id(
&mut self,
table_id: &TableId
) -> Option<&Rc<RefCell<Table>>>
[src]
&mut self,
table_id: &TableId
) -> Option<&Rc<RefCell<Table>>>
pub fn register_blocks(&mut self, blocks: Vec<Block>)
[src]
pub fn register_table(&mut self, table: Table)
[src]
pub fn remove_block(&mut self, block_id: &usize)
[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 set_time(&mut self, time: 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
impl !RefUnwindSafe for Core
impl !Send for Core
impl !Sync for Core
impl Unpin for Core
impl !UnwindSafe for Core
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,