triton_air::table_column

Trait MasterMainColumn

Source
pub trait MasterMainColumn {
    // Required methods
    fn main_index(&self) -> usize;
    fn master_main_index(&self) -> usize;
}
Expand description

A trait for the columns of the master main table. This trait is implemented for all enums relating to the main tables. This trait provides two methods:

  • one to get the index of the column in the “local” main table, _i.e., not the master base table, and
  • one to get the index of the column in the master main table.

Required Methods§

Source

fn main_index(&self) -> usize

The index of the column in the “local” main table, _i.e., not the master base table.

Source

fn master_main_index(&self) -> usize

The index of the column in the master main table.

Implementors§