Skip to main content

annotate_target_overlay

Function annotate_target_overlay 

Source
pub fn annotate_target_overlay(
    report: Report,
    target_overlay_hex: &str,
) -> Report
Expand description

Annotate each vantage with target_proximity (PO between its overlay and target_overlay_hex) and sort the vantages array by that proximity in descending order — closest first. No-op when target_overlay_hex doesn’t decode. Added in 0.4.