Skip to main content

underlying_type

Function underlying_type 

Source
pub fn underlying_type<'d, F>(ty: &Type, lookup: F) -> Option<Type>
where F: Fn(&str) -> Option<&'d Definition>,
Expand description

Return the immediate underlying type of a nominal occurrence, instantiated with that occurrence’s type arguments.