pub enum Binding<'a> {
Bound {
raw: RawRef<'a>,
targets: Vec<ObjectId>,
},
Unresolved {
raw: RawRef<'a>,
},
}Expand description
What one RawRef bound to in the model — the graph-ready outcome of
resolution, as data.
Variants§
Bound
The reference matched at least one model object. targets holds the
graph-node identities of every candidate: an unqualified [Name]
can bind a measure and a home-table column at once, because a lexer
cannot tell row context from filter context.
Fields
Unresolved
The reference matched nothing — a stale expression, a typo, a renamed object, or a built-in function. Never an error: the graph layer decides what an unresolvable reference means (typically: ignore).
Implementations§
Trait Implementations§
impl<'a> Eq for Binding<'a>
impl<'a> StructuralPartialEq for Binding<'a>
Auto Trait Implementations§
impl<'a> Freeze for Binding<'a>
impl<'a> RefUnwindSafe for Binding<'a>
impl<'a> Send for Binding<'a>
impl<'a> Sync for Binding<'a>
impl<'a> Unpin for Binding<'a>
impl<'a> UnsafeUnpin for Binding<'a>
impl<'a> UnwindSafe for Binding<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.