pub fn insert(&mut self, font: String, data: Vec<u8>, is_default: bool) {
		if is_default {
			self.default_font = Some(font.clone());
		}
		self.data.insert(font, data);
	}
/// Insert a new font into the cache
Insert a new font into the cache
Insert a new font into the cache
pub fn insert(&mut self, font: String, data: Vec<u8>, is_default: bool) {
		if is_default {
			self.default_font = Some(font.clone());
		}
		self.data.insert(font, data);
	}
pub fn insert ( & mut self , font : String , data : Vec < u8 > , is_default : bool ) { if is_default { self . default_font = Some ( font . clone ( ) ) ; } self . data . insert ( font , data ) ; }
Insert a new font into the cache
Insert a new font into the cache
&mut self
font
String
data
Vec<u8>
is_default
bool
&mut self
font
String
data
Vec<u8>
is_default
bool