You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: type_parameter.rs
    path of file: ./repos/sway/sway-core/src/type_system/ast_elements
    
    the code of the file until where you have to start completion: use crate::{
    decl_engine::*,
    engine_threading::*,
    lan
    
    fn cmp(&self, other: &Self, engines: &Engines) -> Ordering {
        let TypeParameter {
            type_id: lti,
            name_ident: ln,
            trait_constraints: ltc,
            // these fields are not compared because they aren't relevant/a
            // reliable source of obj v. obj distinction
            trait_constraints_span: _,
            initial_type_id: _,
            is_from_parent: _,
        } = self;
        let TypeParameter {
            type_id: rti,
            name_ident: rn,
            trait_constraints: rtc,
            // these fields are not compared because they aren't relevant/a
            // reliable source of obj v. obj distinction
            trait_constraints_span: _,
            initial_type_id: _,
            is_from_parent: _,
        } = other;
        ln.cmp(rn)
            .then_with(|| engines.te().get(*lti).cmp(&engines.te().get(*rti), engines))
            .then_with(|| ltc.cmp(rtc, engines))
    }