Crate bevy_utils

Source
Expand description

General utilities for first-party Bevy engine crates.

Modules§

prelude
The utilities prelude.
synccell
A reimplementation of the currently unstable std::sync::Exclusive
syncunsafecell
A reimplementation of the currently unstable std::cell::SyncUnsafeCell

Macros§

once
Call some expression only once per call site.

Structs§

OnDrop
A type which calls a function when dropped. This can be used to ensure that cleanup code is run even in case of a panic.
Parallelstd
A cohesive set of thread-local values of a given type.

Traits§

PreHashMapExtalloc
Extension methods intended to add functionality to PreHashMap.

Functions§

default
An ergonomic abbreviation for Default::default() to make initializing structs easier.

Type Aliases§

PreHashMapalloc
A HashMap pre-configured to use Hashed keys and PassHash passthrough hashing. Iteration order only depends on the order of insertions and deletions.
TypeIdMapalloc
A specialized hashmap type with Key of TypeId Iteration order only depends on the order of insertions and deletions.