Skip to main content

complete_types

Function complete_types 

Source
pub fn complete_types(signature: &str) -> Vec<String>
Expand description

Split a signature into its complete top-level types.

"sa{sv}u" → ["s", "a{sv}", "u"]. Needed because a struct or array body is described by a concatenation, not a list.