pub fn peel_transparent(ty: &Type) -> Option<(&'static str, Type)>Expand description
Strip one transparent wrapper from a spelling,
naming the one removed — Box<Option<T>> → ("Box", Option<T>).
Spelling in, spelling out — the syntax-side peer of
TypeRef::unwrapped, for an adapter comparing a spelling it composed
against one it has a converter for. Here rather than in the adapter because
taking a syn::Type apart is this module’s job, and doing it next door would
put a classifier back outside the model.