def edges_to_features(list_edges, input_layer):
    """
    Transform a list of Edges objects into a list of the corresponding features
    of the layer.
    
    :param list_edges: list of the edges corresponding to the desired features
    :type list_edges: list of Edge objects
    :param input_layer: layer of the features (and the corresponding edges)
    :type input_layer: QgsVectorLayer object
    
    :return: list of features
    :rtype: list of QgsFeatures objects
    """
    # List of the features to return
    list_features = []
    # For each edge of the list
    for edge in list_edges:
        # ID of the edge
        id_edge = edge.id_edge
        # Corresponding feature: same ID
        feature = input_layer.getFeature(id_edge)
        # Update list
        list_features.append(feature)
        
    return list_features