Skip to main content

candidates

Function candidates 

Source
pub fn candidates(
    offer: &[FormatId],
    accepts: &[FormatId],
    transforms: &[TransformSpec],
) -> Vec<Plan>
Expand description

Every way an offer fits a target, the best first: per accepted format (richest first), the offer’s own representation, or else each transform making it from what is offered (from the richest offered).