pub fn board_with_policy<P>(
queue: &mut Boarding,
vehicle: &mut TransitVehicle,
served_stops: &[u64],
passenger_destinations: &mut Vec<u64>,
policy: &P,
) -> BoardingResultwhere
P: BoardingPolicy,Expand description
Apply a boarding policy to a queue and vehicle.