pub fn traversal<'a, F, V>(
sd: &'a StructureDefinition,
visitor: &mut F,
) -> Result<V, String>Expand description
Traverses the elements of a [StructureDefinition] in bottom-up order.
The visitor function is called after all child elements have been traversed.
ยงErrors
Returns an error if the [StructureDefinition] does not contain a snapshot.