Module lib

Source

Modules§

FS
GL
char
Utilities for the char primitive type.
chksum
fmt
Utilities for formatting and printing Strings.
iter
Composable external iteration.
lazy
logging
mem
Basic functions for dealing with memory.
ops
Overloadable operators.
prefetch
profiling
ptr
Manually manage memory through raw pointers.
rand
slice
Utilities for the slice primitive type.
slicing
time
Temporal quantification.

Macros§

bitflags
Generate a flags type.
impl_trait_for

Structs§

Arc
A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
BTreeMap
An ordered map based on a B-Tree.
BTreeSet
An ordered set based on a B-Tree.
Cached
CachedStr
Cell
A mutable memory location.
Dummy
Zero-sized type used to mark things that “act like” they own a T.
HashMap
A hash map implemented with quadratic probing and SIMD lookup.
HashSet
A hash set implemented as a HashMap where the value is ().
MemRes
Memoized
Range
A (half-open) range bounded inclusively below and exclusively above (start..end).
Rc
A single-threaded reference-counting pointer. ‘Rc’ stands for ‘Reference Counted’.
TPtr
VecDeque
A double-ended queue implemented with a growable ring buffer.
Weak
Weak is a version of Rc that holds a non-owning reference to the managed allocation.
f16
A 16-bit floating point type implementing the IEEE 754-2008 standard binary16 a.k.a “half” format.

Enums§

ord
An Ordering is the result of a comparison between two values.

Traits§

Borrow
A trait for borrowing data.
Cast
CollectVec
CountItems
Debug
? formatting.
ExplainError
FasterIndex
InspectCell
LastIdx
OrAssignment
SendStat
TrivialBound
UniformUnwrap
UniformUnwrapOrDefault
UnwrapValid
Utf8Len

Functions§

Box
Cell
Def
Mat2
Mat3
Mat4
Mat2x3
Mat2x4
Mat3x2
Mat3x4
Mat4x2
Mat4x3
Res
Vec2
Vec3
Vec4
dVec2
dVec3
dVec4
f16
f32
f64
hVec2
hVec3
hVec4
i8
i16
i32
i64
i128
iVec2
iVec3
iVec4
ibVec2
ibVec3
ibVec4
ilVec2
ilVec3
ilVec4
isVec2
isVec3
isVec4
isize
iter2d
iter3d
ref_UUID
type_name
type_size
Returns the size of a type in bytes.
u8
u16
u32
u64
u128
uVec2
uVec3
uVec4
ubVec2
ubVec3
ubVec4
ulVec2
ulVec3
ulVec4
usVec2
usVec3
usVec4
usize

Type Aliases§

Astr
GLbitfield
GLbool
GLenum
GLvoid
Mat2
Mat3
Mat4
Mat2x3
Mat2x4
Mat3x2
Mat3x4
Mat4x2
Mat4x3
Res
STR
Str
Vec2
Vec3
Vec4
dVec2
dVec3
dVec4
hVec2
hVec3
hVec4
iVec2
iVec3
iVec4
ibVec2
ibVec3
ibVec4
ilVec2
ilVec3
ilVec4
isVec2
isVec3
isVec4
mat2
mat3
mat4
mat2x3
mat2x4
mat3x2
mat3x4
mat4x2
mat4x3
uVec2
uVec3
uVec4
ubVec2
ubVec3
ubVec4
ulVec2
ulVec3
ulVec4
usVec2
usVec3
usVec4
vec2
vec3
vec4

Derive Macros§

Debug
Derive macro generating an impl of the trait Debug.