Skip to main content

HeuristicEntry

Type Alias HeuristicEntry 

Source
pub type HeuristicEntry = InboundEntry;
Expand description

The value shape of both heuristic_inbound and heuristic_outbound_by_file (inherits/uses-type/uses-member – note no imports: an imports edge names a namespace string, never a def, so no tier can guess one). Structurally identical to InboundEntry, and deliberately the same type.

Aliased Type§

pub struct HeuristicEntry {
    pub inherits: Vec<usize>,
    pub uses_type: Vec<usize>,
    pub uses_member: Vec<usize>,
    pub implements: Vec<usize>,
    pub overrides: Vec<usize>,
}

Fields§

§inherits: Vec<usize>

The inherits value.

§uses_type: Vec<usize>

The uses type value.

§uses_member: Vec<usize>

The uses member value.

§implements: Vec<usize>

implements edges naming this def as their target – never heuristic, so HeuristicEntry’s own copy of this field is always empty.

§overrides: Vec<usize>

overrides edges naming this def as their target, same rule.