[−][src]Struct mech_core::Interner
Fields
offset: usize
tables: TableIndex
names: HashMap<u64, String>
changes: Vec<Change>
changes_count: usize
change_pointer: usize
rollover: usize
last_round: usize
Methods
impl Interner
[src]
pub fn new(change_capacity: usize, table_capacity: usize) -> Interner
[src]
pub fn clear(&mut self)
[src]
pub fn process_transaction(&mut self, txn: &Transaction)
[src]
pub fn get_table(&self, table: u64) -> Option<&Table>
[src]
pub fn get_table_mut(&mut self, table: u64) -> Option<&mut Table>
[src]
pub fn get_column(&self, table: u64, column: Index) -> Option<&Vec<Value>>
[src]
pub fn len(&self) -> usize
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Interner
impl Send for Interner
impl Sync for Interner
impl Unpin for Interner
impl UnwindSafe for Interner
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, 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>,