Modules§
- FS
- GL
- arc
- chksum
- fs
- Asynchronous file utilities.
- io
- Traits, helpers, and type definitions for asynchronous I/O functionality.
- iter
- Composable external iteration.
- lazy
- logger
- mem
- Basic functions for dealing with memory.
- ops
- Overloadable operators.
- profiling
- ptr
- Manually manage memory through raw pointers.
- rand
- rc
- Single-threaded reference-counting pointers. ‘Rc’ stands for ‘Reference Counted’.
- ser
- slicing
- stream
- task
- thread
- Native threads.
- time
- Temporal quantification.
Macros§
- bitflags
- Generate a flags type.
Structs§
- Arc
- A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
- Atomic
Bool - A boolean type which can be safely shared between threads.
- Atomic
I8 - An integer type which can be safely shared between threads.
- Atomic
I16 - An integer type which can be safely shared between threads.
- Atomic
I32 - An integer type which can be safely shared between threads.
- Atomic
I64 - An integer type which can be safely shared between threads.
- Atomic
Isize - An integer type which can be safely shared between threads.
- Atomic
Ptr - A raw pointer type which can be safely shared between threads.
- Atomic
U8 - An integer type which can be safely shared between threads.
- Atomic
U16 - An integer type which can be safely shared between threads.
- Atomic
U32 - An integer type which can be safely shared between threads.
- Atomic
U64 - An integer type which can be safely shared between threads.
- Atomic
Usize - An integer type which can be safely shared between threads.
- BTree
Map - An ordered map based on a B-Tree.
- BTree
Set - An ordered set based on a B-Tree.
- Barrier
- A barrier enables multiple threads to synchronize the beginning of some computation.
- Binary
Heap - A priority queue implemented with a binary heap.
- Cell
- A mutable memory location.
- Dummy
- Zero-sized type used to mark things that “act like” they own a
T. - Formatter
- Configuration for formatting.
- HashMap
- A hash map implemented with quadratic probing and SIMD lookup.
- HashSet
- A hash set implemented as a
HashMapwhere the value is(). - Join
Handle - An owned permission to join on a thread (block on its termination).
- Notify
- Notifies a single task to wake up.
- Once
Lock - A synchronization primitive which can nominally be written to only once.
- Ptr
- Rc
- A single-threaded reference-counting pointer. ‘Rc’ stands for ‘Reference Counted’.
- Task
- VecDeque
- A double-ended queue implemented with a growable ring buffer.
- f16
- A 16-bit floating point type implementing the IEEE 754-2008 standard
binary16a.k.a “half” format. - Atomic
I128 Experimental - An integer type which can be safely shared between threads.
- Atomic
U128 Experimental - An integer type which can be safely shared between threads.
Enums§
Constants§
- ATOMIC_
BOOL_ INIT Deprecated - An
AtomicBoolinitialized tofalse. - ATOMIC_
ISIZE_ INIT Deprecated - An
AtomicIsizeinitialized to0. - ATOMIC_
USIZE_ INIT Deprecated - An
AtomicUsizeinitialized to0.
Traits§
- Async
Read - Reads bytes from a source.
- Async
Read Ext - Reads bytes from a source.
- Async
Write - Writes bytes asynchronously.
- Async
Write Ext - Writes bytes to a sink.
- Borrow
- A trait for borrowing data.
- Cast
- Char
AsStr - Collect
Vec - Count
Items - Debug
?formatting.- Display
- Format trait for an empty format,
{}. - Explain
Error - Faster
Index - Flatten
Error - Fut
- Future
Ext - Extension trait for
Future. - Inspect
Cell - Mutate
Cell - OrAssignment
- Pipe
- SendS
- Stream
- A stream of values produced asynchronously.
- Stream
Ext - An extension trait for the
Streamtrait that provides a variety of convenient combinator functions. - Stream
ExtKit - Thread
Unwrap - Trivial
Bound - Uniform
Unwrap - Uniform
Unwrap OrDefault - Unwrap
Valid - Utf8Len
- Valid
Option - uRange
- Atomic
Primitive Experimental - A marker trait for primitive types which can be modified atomically.
Functions§
- Arc
- Box
- Cell
- Def
- Mat2
- Mat3
- Mat4
- Mat2x3
- Mat2x4
- Mat3x2
- Mat3x4
- Mat4x2
- Mat4x3
- Vec2
- Vec3
- Vec4
- compiler_
fence - A “compiler-only” atomic fence.
- contains
- dVec2
- dVec3
- dVec4
- f16
- f32
- f64
- fence
- An atomic fence.
- hVec2
- hVec3
- hVec4
- i8
- i16
- i32
- i64
- i128
- iVec2
- iVec3
- iVec4
- ilVec2
- ilVec3
- ilVec4
- intersects
- isVec2
- isVec3
- isVec4
- isize
- iter2d
- iter3d
- mat2
- mat3
- mat4
- ref_
UUID - spin_
loop_ hint Deprecated - Signals the processor that it is inside a busy-wait spin-loop (“spin lock”).
- type_
name - type_
size - Returns the size of a type in bytes.
- u8
- u16
- u32
- u64
- u128
- uVec2
- uVec3
- uVec4
- ulVec2
- ulVec3
- ulVec4
- usVec2
- usVec3
- usVec4
- usize
- vec2
- vec3
- vec4
Type Aliases§
- Astr
- BoxFut
- GLbitfield
- GLbool
- GLenum
- GLvoid
- Mat2
- Mat3
- Mat4
- Mat2x3
- Mat2x4
- Mat3x2
- Mat3x4
- Mat4x2
- Mat4x3
- Mutex
- A mutual exclusion primitive useful for protecting shared data
- Mutex
Guard - An RAII implementation of a “scoped lock” of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.
- Res
- RwLock
- A reader-writer lock
- RwLock
Upgradable Read Guard - RAII structure used to release the upgradable read access of a lock when dropped.
- STR
- Str
- Vec2
- Vec3
- Vec4
- dVec2
- dVec3
- dVec4
- fmtRes
- The type returned by formatter methods.
- hVec2
- hVec3
- hVec4
- iVec2
- iVec3
- iVec4
- ilVec2
- ilVec3
- ilVec4
- isVec2
- isVec3
- isVec4
- mat2
- mat3
- mat4
- mat2x3
- mat2x4
- mat3x2
- mat3x4
- mat4x2
- mat4x3
- uVec2
- uVec3
- uVec4
- ulVec2
- ulVec3
- ulVec4
- usVec2
- usVec3
- usVec4
- vec2
- vec3
- vec4
- Atomic
Experimental - A memory location which can be safely modified from multiple threads.
Attribute Macros§
Derive Macros§
- Debug
- Derive macro generating an impl of the trait
Debug.