fn class_wrap(ty: &Type) -> Option<ClassWrap>Expand description
The class of a field of type ty when it names a pointer class, read as a
method’s return type is: T or ExternalPtr<T> (T a capitalized path
that is not a builtin), in Option<..>, Vec<..> or Option<Vec<..>>.
Whether T is a class is known when the wrappers are written; a T that
is not keeps the value as it is.