pub fn render_enum(
sumtype: &SumType,
resolver: &NameResolver,
if_not_exists: bool,
) -> Result<String, ExportError>pub fn render_enum(
sumtype: &SumType,
resolver: &NameResolver,
if_not_exists: bool,
) -> Result<String, ExportError>