Crate bevy_utils
source ·Re-exports
Modules
Macros
Macro to define a new label trait
Structs
A
Hasher
for hashing an arbitrary stream of bytes.A
Duration
type to represent a span of time, typically used for system
timeouts.A hasher builder that will create a fixed hasher.
A pre-hashed value of a specific type. Pre-hashing enables memoization of hashes that are expensive to compute.
It also enables faster
PartialEq
comparisons by short circuiting on hash equality.
See PassHash
and PassHasher
for a “pass through” BuildHasher
and Hasher
implementation
designed to work with Hashed
See PreHashMap
for a hashmap pre-configured to use Hashed
keys.A
BuildHasher
that results in a PassHasher
.A Universally Unique Identifier (UUID).
Traits
Extension methods intended to add functionality to
PreHashMap
.Functions
An ergonomic abbreviation for
Default::default()
to make initializing structs easier.
This is especially helpful when combined with “struct update syntax”.Shortens a type name to remove all module paths.
Type Definitions
A
HashMap
implementing aHash, a high
speed keyed hashing algorithm intended for use in in-memory hashmaps.A
HashSet
implementing aHash, a high
speed keyed hashing algorithm intended for use in in-memory hashmaps.A stable hash map implementing aHash, a high speed keyed hashing algorithm
intended for use in in-memory hashmaps.
A stable hash set implementing aHash, a high speed keyed hashing algorithm
intended for use in in-memory hashmaps.