Skip to main content

single_generic_arg

Function single_generic_arg 

Source
fn single_generic_arg(ty: &Type) -> Option<(String, &Type)>
Expand description

The last path segment’s name and its single type argument, for types shaped like Wrapper<T>.