1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-License-Identifier: MIT OR Apache-2.0

use alloc::sync::Arc;
#[cfg(not(feature = "std"))]
use alloc::{
    string::String,
    vec::Vec,
};

use crate::Font;

/// Fonts that match a pattern
pub struct FontMatches<'a> {
    pub locale: &'a str,
    pub default_family: String,
    pub fonts: Vec<Arc<Font<'a>>>,
}