Skip to main content

optional_layer

Function optional_layer 

Source
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.