Skip to main content

type_ref

Function type_ref 

Source
pub fn type_ref(ty: &Type) -> Result<TypeRef>
Expand description

Map a Rust type to Bern’s type vocabulary.