Skip to main content

dots_kind

Function dots_kind 

Source
pub(crate) fn dots_kind(ty: &Type) -> Option<DotsKind>
Expand description

The ... parameter type ty is, if any: Dots / &Dots (DotsKind::Forced), or LazyDots taken by value (DotsKind::Lazy, crate::type_inspect::is_lazy_dots_marker). &LazyDots and other shapes are none; the callers refuse them by name.