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: fonts.rs
    path of file: ./repos/blueboat/src/api/graphics
    
    the code of the file until where you have to start completion: use std::collections::HashSet;

use fontdue::Font;
use itertools::Itertools;

use crate::{api::graphics::font_util::FontStyle, gres::FONTS};

pub fn search_font
    
pub fn search_font(spec: &super::font_util::Font) -> Vec<&'static Font> {
  let mut ret = vec![];
  for candidate in spec.family.split(",").map(|x| x.trim()) {
    if let Some(m) = match_font_family(candidate, spec) {
      ret.push(m);
    }
  }
  ret
}