Skip to main content

resolve_reference

Function resolve_reference 

Source
pub fn resolve_reference<'a>(
    context: &'a ContextSnapshot,
    reference: &ContextReference,
) -> Option<&'a ContextElement>
Expand description

Resolve a reference against a screen context snapshot. Returns the best-matching element if its score exceeds the threshold.