pub fn type_out_scope(current: &Option<TypeStruct>) -> Option<TypeStruct>