Function enum_block
fn enum_block(
member: &Member,
mixin: Option<&str>,
members: &[(String, String)],
) -> StringExpand description
Renders one enum.Enum subclass and its members.
The members carry their values, because for a str enum the value is the
API — atune.TrialState.COMPLETE == "complete" is the property the class
exists for, and a stub that wrote COMPLETE: str would hide it.