pub(crate) fn is_reader_scalar_ty(ty: &Type) -> boolExpand description
True if ty is a bare known-scalar ident, or Option<bare-known-scalar>.
These are exactly the field types for which the from-R reader can pull a
column out as Vec<ty> via TryFromSexp (scalar Single fields and
[T; N] fixed-array elements, neither of which adds an Option wrapper).
pub(super) so enum_expansion.rs can reuse it.