Skip to main content

either_arms

Function either_arms 

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

(L, R) for an Either<L, R> type (last path segment Either with two type arguments), None for anything else.