Skip to main content

Scope

Type Alias Scope 

Source
pub type Scope = BTreeMap<String, Value>;
Expand description

The scope an expression evaluates against: column name → value. A missing name reads as Null. Any Lookup works; this is the convenient owned form.

Aliased Type§

pub struct Scope { /* private fields */ }

Trait Implementations§

Source§

impl Lookup for Scope

Source§

fn lookup(&self, name: &str) -> Value

The value bound to name, or Value::Null.