Skip to main content

is_recursive_sum

Function is_recursive_sum 

Source
pub fn is_recursive_sum(name: &str, variants: &[TypeVariant]) -> bool
Expand description

Granular variant of is_recursive_type_def taking a sum’s (name, variants) split — some backends already have the parts separated and don’t want to rebuild a TypeDef just to query.