pub fn to_ref_traversal<AnnotatedT>(
variant: &Variant<AnnotatedT>,
) -> Option<RefTraversal<'_, AnnotatedT>>Expand description
Convert to a RefTraversal.
If it’s already a List will just make sure it’s not empty. Other variant types will be wrapped in a List.