pub(crate) fn optional_layer(ty: &Type) -> Option<(&Type, OptionalSpelling)>Expand description
(T, spelling) for an Option<T> or Nullable<T> type (matched by the
last path segment, like Missing), None for anything else.
pub(crate) fn optional_layer(ty: &Type) -> Option<(&Type, OptionalSpelling)>(T, spelling) for an Option<T> or Nullable<T> type (matched by the
last path segment, like Missing), None for anything else.