[][src]Function genco::rust::const_local

pub const fn const_local(name: &'static str) -> Type

Helper function to construct a constant local type.

Examples

use genco::prelude::*;

const my_type: rust::Type = rust::const_local("MyType");