pub struct CompilerExportBundle {
pub domains: HashMap<String, usize>,
pub predicate_signatures: HashMap<String, Vec<String>>,
pub variable_bindings: HashMap<String, String>,
}Expand description
Complete export bundle for compiler integration.
This structure contains all information needed to initialize a compiler context from a symbol table.
Fields§
§domains: HashMap<String, usize>Domain names mapped to cardinalities.
predicate_signatures: HashMap<String, Vec<String>>Predicate names mapped to argument domain lists.
variable_bindings: HashMap<String, String>Variable names mapped to domain types.
Implementations§
Trait Implementations§
Source§impl Clone for CompilerExportBundle
impl Clone for CompilerExportBundle
Source§fn clone(&self) -> CompilerExportBundle
fn clone(&self) -> CompilerExportBundle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompilerExportBundle
impl Debug for CompilerExportBundle
Auto Trait Implementations§
impl Freeze for CompilerExportBundle
impl RefUnwindSafe for CompilerExportBundle
impl Send for CompilerExportBundle
impl Sync for CompilerExportBundle
impl Unpin for CompilerExportBundle
impl UnwindSafe for CompilerExportBundle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more