Module jumpy::prelude

source ·

Re-exports

Modules

  • Audio Center resource and systems.
  • Audio Manager resource and systems.
  • Simple reflection system based on the #[repr(C)] memory layout.
  • General utilities for Bones meta-engine crates.
  • bool vector mask types.
  • This module contains types that can be used to implement atomic borrowing.
  • Implements bones egui debug windows and tools. Requires ‘ui’ feature flag.
  • egui: an easy-to-use GUI in pure Rust!
  • f32 vector, quaternion and matrix types.
  • f64 vector, quaternion and matrix types.
  • Fluent is a modern localization system designed to improve how software is translated.
  • fluent-langneg is an API for operating on locales and language tags. It’s part of Project Fluent, a localization framework designed to unleash the expressive power of the natural language.
  • i32 vector types.
  • i64 vector types.
  • Input traits required by networking. These traits are networking specific, either only used in networking, or extending other traits from [crate::input] for networking.
  • This crate contains a memoizer for internationalization formatters. Often it is expensive (in terms of performance and memory) to construct a formatter, but then relatively cheap to run the format operation.
  • Kira
  • LAN matchmaking and socket implementation.
  • Contains the online matchmaker.
  • Serializable data types for network messages used by the game.
  • Traits adding swizzle methods to all vector types.
  • A library to safely and easily obtain the current locale on the system or for an application.
  • u32 vector types.
  • u64 vector types.
  • unic-langid is a core API for parsing, manipulating, and serializing Unicode Language Identifiers.
  • Egui widgets.

Macros

  • Shorthand for combining bitsets with bit_or.
  • Shorthand for setting bits on the bitset container.
  • Constructs an event at the debug level.
  • Constructs an event at the error level.
  • A helper macro to simplify creation of FluentArgs.
  • Implements the BitSet trait members for your type through DerefMut.
  • Constructs an event at the info level.
  • setup_logs is a macro for initializing logging in bones.
  • Creates a SmallVec containing the arguments.
  • Creates an inline SmallVec containing the arguments. This macro is enabled by the feature const_new.
  • Constructs an event at the trace level.
  • Constructs an event at the warn level.

Structs

Enums

Constants

Statics

Traits

  • Let Path and PathBuf have absolutize and absolutize_virtually method.
  • Types that can be used as the backing store for a SmallVec.
  • AssetIo is a trait that is implemented for backends capable of loading all the games assets and returning the raw bytes stored in asset files.
  • A custom assset loader.
  • Extension trait for the bones AssetServer.
  • The BitSet API.
  • This trait factors out functions for iterating with bitset over component store. Separated from impl ComponentStore for usage in generic trait types that must be able to create ComponentBitsetIterator and related types.
  • Provides the context method for Result.
  • Extension trait for the Context that makes it easier to access our lua singletons.
  • A data structure that can be deserialized from any data format supported by Serde.
  • Extension trait with helpers for the egui context
  • Extension trait with helpers for egui responses
  • Trait for enabling creating new TurboCore instances from an original instance. Similar to cloning, except forking modifies the state of the original instance in order to provide a new, random state for the forked instance. This allows for creating many randomised instances from a single seed in a deterministic manner.
  • Trait implemented for types that can produce an instance of themselves from a Rust type.
  • Creates an instance of the type this trait is implemented for using data from the supplied World.
  • Trait for plugins that can be installed into a Game.
  • 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.
  • Trait implemented for types that have a [Schema].
  • Maps raw inputs to game controls and exposes controls for respective player and their control source.
  • Converts a function into a System.
  • Helper trait to get a singleton fn pointer for the metatable for a type.
  • Trait that tracks player control state. Provides associated types for other input trait implementations.
  • A type representing a component-joining entity query.
  • A marker trait to be applied to anything that implements TurboCore in order to indicate that a PRNG source is cryptographically secure, so being a CSPRNG.
  • Trait for implementing Seedable PRNGs, requiring that the PRNG implements TurboCore as a baseline. Seeds must be Sized in order to be used as the internal state of a PRNG.
  • A data structure that can be serialized into any data format supported by Serde.
  • Trait for plugins that can be installed into a Session.
  • A session runner is in charge of advancing a Session simulation.
  • Trait for things that may be used to identify a system stage.
  • Trait implemented by storage backends.
  • Trait implemented by systems.
  • Trait used to implement parameters for System functions.
  • Trait for system stages. A stage is a
  • Convenience trait for constructing a SmallVec
  • Base trait for implementing a PRNG. Only one method must be implemented: TurboCore::fill_bytes, which provides the basis for any PRNG, to fill a buffer of bytes with random data.
  • 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.
  • Helper trait for unwraping each item in an array.
  • Extension trait on top of Value to add helper functions.

Functions

  • Helper func to construct a OptionalQueryItem wrapping a Comp SystemParam. Used to iterate over enities optionally retrieving components from ComponentStore. Entities iterated over will not be filtered by this QueryItem.
  • Helper func to construct a OptionalQueryItemMut wrapping a CompMut SystemParam. Used to iterate over enities optionally and mutably retrieving components from ComponentStore. Entities iterated over will not be filtered by this QueryItem.
  • Internally used sytem for killing finished audios (generally sounds) which were emitted as separate entities. Used in the bones audio session.
  • Internally used sytem for processing audio events in the bones audio session.
  • System for automatically animating sprites with the AnimatedSprite component.
  • Install animation utilities into the given SystemStages.
  • Helper function to return type data for a custom asset loader.
  • Create a bi-directional channel with a given request and response type.
  • Creates a bitset big enough to contain the index of each entity. Mostly used to create caches.
  • An ergonomic abbreviation for Default::default() to make initializing structs easier. This is especially helpful when combined with “struct update syntax”.
  • Creates a 2x2 matrix from two column vectors.
  • Creates a 3x3 matrix from three column vectors.
  • Creates a 4x4 matrix from four column vectors.
  • Creates a quaternion from x, y, z and w values.
  • Creates a 2-dimensional vector.
  • Creates a 3-dimensional vector.
  • Creates a 4-dimensional vector.
  • Shortens a type name to remove all module paths.
  • Creates a 2-dimensional vector.
  • Creates a 3-dimensional vector.
  • Creates a 4-dimensional vector.
  • Creates a 2-dimensional vector.
  • Creates a 3-dimensional vector.
  • Creates a 4-dimensional vector.
  • Hints to the compiler that the branch condition is likely to be true. Returns the value passed to it.
  • Install the lua scripting plugin.
  • Creates a 2x2 matrix from two column vectors.
  • Creates a 3x3 matrix from three column vectors.
  • Creates a 3x3 matrix from three column vectors.
  • Creates a 4x4 matrix from four column vectors.
  • Helper function to return type data for a metadata asset.
  • Creates a quaternion from x, y, z and w values.
  • Setup the global tracing subscriber, add hook for tracing panics, and optionally enable logging to file system.
  • Helper to call setup_logging conciseably with reasonable defaults for logging to console and file system.
  • Utility function that spawns the camera in a default position.
  • Sprite session plugin.
  • Creates a 2-dimensional vector.
  • Creates a 3-dimensional vector.
  • Creates a 4-dimensional vector.
  • The Bones Framework UI plugin.
  • Hints to the compiler that the branch condition is unlikely to be true. Returns the value passed to it.
  • System for updating AnimatedSprites based on thier AnimationBankSprite
  • Create a new Ustr from the given &str.
  • Creates a 2-dimensional vector.
  • Creates a 3-dimensional vector.
  • Creates a 4-dimensional vector.
  • Creates a 2-dimensional vector.
  • Creates a 3-dimensional vector.
  • Creates a 3-dimensional vector.
  • Creates a 4-dimensional vector.

Type Aliases

Derive Macros