cairo_lang_semantic::items::generics

Function generic_params_to_args

source
pub fn generic_params_to_args(
    params: &[GenericParam],
    db: &dyn SemanticGroup,
) -> Vec<GenericArgumentId>
Expand description

Converts each generic param to a generic argument that passes the same generic param.