Skip to main content

type_kind

Function type_kind 

Source
pub fn type_kind(ty: &Type) -> Option<TypeKind>
Expand description

What a field’s type holds, looking through Option. None for types no field can have, such as tuples or references.