Skip to main content

primitive_alias

Function primitive_alias 

Source
pub const fn primitive_alias(kind: PrimitiveKind) -> &'static str
Expand description

The alias an IDL primitive takes.

Exhaustive, so a primitive added to the model without a Python spelling is a compile error and not a member that silently takes another’s.