Struct geo_aid::script::unroll::CompileContext
source · pub struct CompileContext {
pub rule_ops: HashMap<String, Rc<RuleOperatorDefinition>>,
pub variables: HashMap<String, Rc<Variable>>,
pub points: HashMap<u64, Rc<Variable>>,
pub functions: HashMap<String, Function>,
pub flags: FlagSet,
}Expand description
The context of compilation process. It’s necessary since GeoScript is context-dependent.
Fields§
§rule_ops: HashMap<String, Rc<RuleOperatorDefinition>>The rule operators.
variables: HashMap<String, Rc<Variable>>Variables
points: HashMap<u64, Rc<Variable>>Points
functions: HashMap<String, Function>Functions
flags: FlagSetFlags
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CompileContext
impl !Send for CompileContext
impl !Sync for CompileContext
impl Unpin for CompileContext
impl UnwindSafe for CompileContext
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