Skip to main content

BindingSource

Type Alias BindingSource 

Source
pub type BindingSource = Option<String>;
Expand description

The on-disk source a binding was loaded from, when it has one: Some(path) for a runtime file binding (e.g. a .rhai script), None for a compiled-in binding. Threaded through the resolving dispatcher’s result so the “(Loading …)” note can name the real path (#560) — rather than a State side-channel.

Aliased Type§

pub enum BindingSource {
    None,
    Some(String),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(String)

Some value of type T.