Skip to main content

canonical_origin

Function canonical_origin 

Source
pub fn canonical_origin(tree: &Node) -> Option<OriginPath>
Expand description

Compute the canonical origin path for the top-level wrapper tree, per spec §4. Returns None for shapes that require explicit OriginPathOverrides on the wire.