torin 0.5.0-beta.12

UI layout Library designed for Freya.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[cfg(feature = "std")]
pub use std::{
    collections::HashMap,
    hash::DefaultHasher,
};

#[cfg(feature = "std")]
pub use rustc_hash::FxHashMap;

#[cfg(not(feature = "std"))]
pub type FxHashMap<Key, Value> = hashbrown::HashMap<Key, Value, rustc_hash::FxBuildHasher>;

#[cfg(not(feature = "std"))]
pub type HashMap<Key, Value> = FxHashMap<Key, Value>;

#[cfg(not(feature = "std"))]
pub use rustc_hash::FxHasher as DefaultHasher;