Skip to main content

get_operator_generics

Function get_operator_generics 

Source
pub fn get_operator_generics(
    diagnostics: &mut Diagnostics,
    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.