Crate bones_framework::prelude::bones_utils

source ·
Expand description

General utilities for Bones meta-engine crates.

Modules§

Structs§

  • A Ulid with a human-readable ascii prefix.
  • A Ulid is a unique 128-bit lexicographically sortable identifier

Enums§

Constants§

  • A fast, non-cryptographic, thread-local random number generator powered by turborand.

Traits§

  • This trait provides the means to easily generate all integer types, provided the main method underpinning this is implemented: GenCore::gen. Once implemented, the rest of the trait provides default implementations for generating all integer types, though it is not recommended to override these.
  • Extension trait for automatically implementing all TurboRand methods, as long as the struct implements [TurboCore] & GenCore. All methods are provided as default implementations that build on top of [TurboCore] and GenCore, and thus are not recommended to be overridden, lest you potentially change the expected outcome of the methods.
  • Extension trait for Ulid.

Functions§

Type Aliases§

  • A [HashMap][hashbrown::HashMap] implementing aHash, a high speed keyed hashing algorithm intended for use in in-memory hashmaps.
  • A [HashSet][hashbrown::HashSet] implementing aHash, a high speed keyed hashing algorithm intended for use in in-memory hashmaps.

Derive Macros§

  • Derive macro for deriving Deref on structs with one field.
  • Derive macro for deriving DerefMut on structs with one field.