Skip to main content

std_enum

Function std_enum 

Source
pub fn std_enum(role: Role) -> Arc<EnumShape> ⓘ
Expand description

The shape std declares the enum that plays role with, as the bundled std’s sources give it (Role::shape).

§Panics

When std declares no enum for role.