wr_glyph_rasterizer/types.rs
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5use fxhash::FxHasher;
6use std::collections::{HashMap, HashSet};
7use std::hash::BuildHasherDefault;
8
9pub type FastHashMap<K, V> = HashMap<K, V, BuildHasherDefault<FxHasher>>;
10pub type FastHashSet<K> = HashSet<K, BuildHasherDefault<FxHasher>>;