Skip to main content

builtin_type

Function builtin_type 

Source
pub fn builtin_type(
    name: &str,
    tplt: Option<&[TpltParam]>,
) -> Result<Type, Error>
Expand description

Constructs a builtin type.

Includes all builtin types such as vec3<f32>, but does not include their predeclared aliases (vec3f).