pub enum LookupHit {
Function {
spelling: String,
function_kind: LookupFunctionKind,
receiver: Option<ReceiverCategory>,
unbounded: bool,
params: Vec<LookupParam>,
catalog_id: Option<String>,
display_name: Option<String>,
matched_on: MatchKind,
},
EnumDomain {
domain: String,
members: Option<Vec<EnumMemberEntry>>,
display_name: Option<String>,
matched_on: MatchKind,
},
EnumMember {
spelling: String,
domain: String,
member: String,
display_name: Option<String>,
aliases: Vec<String>,
matched_on: MatchKind,
},
Setting {
path: String,
display_name: Option<String>,
value: SettingValueForm,
matched_on: MatchKind,
},
Parameter {
callable: String,
param: LookupParam,
matched_on: MatchKind,
},
SettingPath {
path: String,
matched_on: MatchKind,
},
}Expand description
One lookup hit.
Variants§
Function
A callable.
Fields
function_kind: LookupFunctionKindWhether the callable is an action, a value, or a member call.
receiver: Option<ReceiverCategory>The declared receiver category of a member call — how it is
invoked (eventPlayer.setMoveSpeed(…) takes a Player
receiver). None for standalone calls.
params: Vec<LookupParam>The parameters in call order: the owner facts Wright renders into a signature string.
EnumDomain
A callable enum domain.
Fields
members: Option<Vec<EnumMemberEntry>>The members the domain accepts, or None when the domain is
manifest-only/contextual and carries no standalone member list.
EnumMember
One enum member.
Fields
Setting
A settings key.
Fields
path: StringThe effective settings path; per-team/per-hero slots stay
templated as heroes.<team>.<hero>.<key>.
value: SettingValueFormThe accepted value form.
Parameter
One parameter of a callable, listed inside a LookupWithin::Callable
scope.
Fields
param: LookupParamThe parameter facts.
SettingPath
An intermediate settings path segment, listed inside a
LookupWithin::Settings scope. It names a scope, not a key.