Function get_operator_generics

Source
pub fn get_operator_generics(
    diagnostics: &mut Vec<Diagnostic>,
    operator: &Operator,
) -> OpInstGenerics
Expand description

Gets the generic arguments for the operator.

This helper method is useful due to the special handling of persistence lifetimes ('static, 'tick, 'mutable) which must come before other generic parameters.