Approximate comparing of things
async-recursion macro
Bincode is a crate for encoding and decoding using a tiny binary
serialization strategy. Using it, you can easily go from having
an object in memory, quickly serialize it to bytes, and then
deserialize it back just as fast!
Retrieving program arguments
A collection of identifiable entities
Working with colors in various formats
derive_more
Diffing structs
Loading files
File dialogs
Utilities for formatting and printing String
s.
Abstractions for asynchronous programming.
Internationalization
Extra iterator adaptors, functions and macros.
Linear algebra
Linear algebra ++
A lightweight logging facade.
Logging
Macros for container literals with specific type.
Basic functions for dealing with memory.
Numeric types and traits
Overview
Utilities for pinning
Saving/loading preferences (small amounts of user data)
Utilities for random number generation
Extra utilities for working with ranges
Rusty Object Notation
Serde
Serde JSON
Time related things
Provides macros to work with tuples
2d Axis aligned bounding box.
This struct represents an angle in 2d space,
A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically
Reference Counted’.
2-dimensional camera.
A mutable memory location.
A polygonal chain connecting a vector of points in space
A collection of identifiable entities
A difference between two collections
Represents a single interval of the curve.
Main object responsible of managing gamepads.
A
hash map implemented with quadratic probing and SIMD lookup.
A
hash set implemented as a
HashMap
where the value is
()
.
HSVA Color
A mutual exclusion primitive useful for protecting shared data
Zero-sized type used to mark things that “act like” they own a T
.
A pointer which pins its pointee in place.
A 2d quad
A (half-open) range bounded inclusively below and exclusively above
(start..end
).
A range only bounded inclusively below (start..
).
An unbounded range (..
).
A range bounded inclusively below and above (start..=end
).
A range only bounded exclusively above (..end
).
A range only bounded inclusively above (..=end
).
A single-threaded reference-counting pointer. ‘Rc’ stands for ‘Reference
Counted’.
Wrapper around T that checks for valid values (panics on NaN/Inf)
Wraps a borrowed reference to a value in a RefCell
box.
A wrapper type for an immutably borrowed value from a RefCell<T>
.
A mutable memory location with dynamically checked borrow rules
A wrapper type for a mutably borrowed value from a RefCell<T>
.
RGBA Color
A 2d segment
The standard RNG. The PRNG algorithm in StdRng
is chosen to be efficient
on the current platform, to be statistically strong and unpredictable
(meaning a cryptographically secure PRNG).
A reference to the thread-local generator
Timer can be used to track time since some instant
Represents any curve given by a parametric function f(t)
.
A reference to a 2d object with additional transformation applied
Data structure used to provide access to coordinates with the dot notation, e.g. v.x
Data structure used to provide access to coordinates with the dot notation, e.g. v.x
Data structure used to provide access to coordinates with the dot notation, e.g. v.x
3x3 matrix
4x4 matrix
2 dimensional vector.
3 dimensional vector.
4 dimensional vector.
Represents any 2d camera.
Represents any 3d camera.
The addition operator +
.
The addition assignment operator +=
.
Implement this for types you want to check for approximate equality
Read bytes asynchronously.
Read bytes asynchronously.
Seek bytes asynchronously.
Write bytes asynchronously.
A BufRead
is a type of Read
er which has an internal buffer, allowing it
to perform extra ways of reading.
Provides methods for clamping values
A trait representing a color component in a color.
A trait representing a
curve
defined by intervals with key points and tangents.
A trait representing a generic curve.
?
formatting.
Used for immutable dereferencing operations, like *v
.
Used for mutable dereferencing operations, like in *v = 1;
.
A data structure that can be deserialized from any data format supported
by Serde.
A data structure that can be deserialized without borrowing any data from
the deserializer.
A diffable type
Format trait for an empty format, {}
.
The division operator /
.
The division assignment operator /=
.
This trait is implemented by any type that implements [std::clone::Clone
].
Represents a type that can be used to fit
Transform2d objects into
Floating point number, including NaN/Inf
A future represents an asynchronous computation obtained by use of
async
.
An identifiable entity
A hashable type.
Used for indexing operations (container[index]
) in immutable contexts.
Used for indexing operations (container[index]
) in mutable contexts.
Extension trait for getting index ranges
Extension trait on iterators, providing random sampling methods.
Extension trait for getting minimum/maximum of values grouped together
The multiplication operator *
.
The multiplication assignment operator *=
.
The unary negation operator -
.
Generic signed number type
Extension trait for getting minimum/maximum of values grouped together
RangeBounds
is implemented by Rust’s built-in range types, produced
by range syntax like ..
, a..
, ..b
, ..=c
, d..e
, or f..=g
.
The Read
trait allows for reading bytes from a source.
Real number (differs from
Float as doesn’t support NaN)
The remainder operator %
.
The remainder assignment operator %=
.
An automatically-implemented extension trait on
RngCore
providing high-level
generic methods for sampling values and other convenience methods.
The core of a random number generator.
Extends
Rng with more methods
A random number generator that can be explicitly seeded.
A data structure that can be serialized into any data format supported
by Serde.
A Sink
is a value into which other values can be sent, asynchronously.
Extension trait on slices, providing random mutation and sampling methods.
A stream of values produced asynchronously.
The subtraction operator -
.
The subtraction assignment operator -=
.
An object in 2d space, bounded by a
QuadSimple and safe type conversions that may fail in a controlled
way under some circumstances. It is the reciprocal of
TryInto
.
A convenience for futures that return Result
values that includes
a variety of adapters tailored to such futures.
An attempted conversion that consumes self
, which may or may not be
expensive.
A convenience for streams that return Result
values that includes
a variety of adapters tailored to such futures.
Generic number, possibly unsigned
A trait for objects which are byte-oriented sinks.
Provides the context
method for Result
.