pub struct Block {Show 19 fields
pub id: BlockId,
pub ast: AstNode,
pub state: BlockState,
pub tables: Database,
pub plan: Plan,
pub functions: Option<Rc<RefCell<Functions>>>,
pub user_functions: Option<Rc<RefCell<HashMap<u64, UserFunction>>>>,
pub global_database: Rc<RefCell<Database>>,
pub unsatisfied_transformation: Option<(MechError, Transformation)>,
pub pending_transformations: Vec<Transformation>,
pub pending_global_tables: HashMap<u64, TableRef>,
pub transformations: Vec<Transformation>,
pub defined_tables: HashSet<(TableId, RegisterIndex, RegisterIndex)>,
pub required_functions: HashSet<u64>,
pub strings: StringDictionary,
pub triggers: HashSet<(TableId, RegisterIndex, RegisterIndex)>,
pub input: HashSet<(TableId, RegisterIndex, RegisterIndex)>,
pub output: HashSet<(TableId, RegisterIndex, RegisterIndex)>,
pub dynamic_tables: HashSet<(TableId, RegisterIndex, RegisterIndex)>,
}
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer.
Read more
Mutably dereferences the given pointer.
Read more
Drops the object pointed to by the given pointer.
Read more
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.