Module rfw::prelude[][src]

Re-exports

pub use crate::ecs::*;
pub use crate::input;
pub use crate::input::*;
pub use crate::resources::*;
pub use crate::system::*;

Modules

bool vector mask types.

f32 vector, quaternion and matrix types.

f64 vector, quaternion and matrix types.

i32 vector types.

Traits adding swizzle methods to all vector types.

u32 vector types.

Macros

Constructs a type definition for a BitArray.

Creates an AABB from a list of vertices

Constructs a new BitArray from a bit-pattern description.

Constructs a new BitBox from a bit-pattern description.

Creates a borrowed BitSlice in the local scope.

Constructs a new BitVec from a bit-pattern description.

Creates a DMat2 from two column vectors that can be used to initialize a constant value.

Creates a DMat3 from three column vectors that can be used to initialize a constant value.

Creates a DMat4 from four column vectors that can be used to initialize a constant value.

Creates a DQuat from x, y, z and w values that can be used to initialize a constant value.

Creates a DVec2 that can be used to initialize a constant value.

Creates a DVec3 that can be used to initialize a constant value.

Creates a DVec4 that can be used to initialize a constant value.

Creates a IVec2 that can be used to initialize a constant value.

Creates a IVec3 that can be used to initialize a constant value.

Creates a IVec4 that can be used to initialize a constant value.

Creates a Mat2 from two column vectors that can be used to initialize a constant value.

Creates a Mat3 from three column vectors that can be used to initialize a constant value.

Creates a Mat3A from three column vectors that can be used to initialize a constant value.

Creates a Mat4 from four column vectors that can be used to initialize a constant value.

Creates a Quat from x, y, z and w values that can be used to initialize a constant value.

Creates a UVec2 that can be used to initialize a constant value.

Creates a UVec3 that can be used to initialize a constant value.

Creates a UVec4 that can be used to initialize a constant value.

Creates a Vec2 that can be used to initialize a constant value.

Creates a Vec3 that can be used to initialize a constant value.

Creates a Vec3A that can be used to initialize a constant value.

Creates a Vec4 that can be used to initialize a constant value.

Structs

A 2D affine transform, which can represent translation, rotation, scaling and shear.

A 3D affine transform, which can represent translation, rotation, scaling and shear.

A 2-dimensional boolean vector.

A 3-dimensional boolean vector.

A 3-dimensional SIMD vector mask.

A 4-dimensional boolean vector.

A 4-dimensional SIMD vector mask.

An array of individual bits, able to be held by value on the stack.

A frozen heap-allocated buffer of individual bits.

Pointer to an individual bit in a memory element. Analagous to *bool.

Equivalent to Range<BitPtr<M, O, T>>.

A proxy reference, equivalent to C++ std::bitset<N>::reference.

A slice of individual bits, anywhere in memory.

A contiguous growable array of bits.

A 2D affine transform, which can represent translation, rotation, scaling and shear.

A 3D affine transform, which can represent translation, rotation, scaling and shear.

A 2x2 column major matrix.

A 3x3 column major matrix.

A 4x4 column major matrix.

A quaternion representing an orientation.

A 2-dimensional vector.

A 3-dimensional vector.

A 4-dimensional vector.

A 2-dimensional vector.

A 3-dimensional vector.

A 4-dimensional vector.

Traverses a register from the least significant bit to the most significant.

Traverses a register from the least significant bit to the most significant.

A 2x2 column major matrix.

A 3x3 column major matrix.

A 3x3 column major matrix.

A 4x4 column major matrix.

Traverses a register from the most significant bit to the least significant.

A quaternion representing an orientation.

Scene optimized for triangles Does not support objects other than Meshes, but does not require virtual calls because of this.

A 2-dimensional vector.

A 3-dimensional vector.

A 4-dimensional vector.

A 2-dimensional vector.

A 3-dimensional vector without SIMD support.

A 3-dimensional vector with SIMD support.

A 4-dimensional vector.

Enums

Constants

Traits

An ordering over a register.

Common interface for memory regions.

Window that wraps around a raw window handle.

Swizzle methods for 2-dimensional vector types.

Swizzle methods for 3-dimensional vector types.

Swizzle methods for 3-dimensional vector types.

Performs C-style bitfield access through a BitSlice.

Creates a BitSlice view over some type that supports it.

Performs C-style bitfield access through a BitSlice.

Creates a BitSlice view over some type that supports it.

Functions

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.

Creates a 2-dimensional vector.

Creates a 3-dimensional vector.

Creates a 4-dimensional vector.

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.

Split an unsigned integer such that its bits are spaced by 2 zeros. For instance, morton_split(0b00110010) = 0b000000001001000000001000.

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.

Creates a 2-dimensional vector.

Creates a 3-dimensional vector.

Creates a 3-dimensional vector.

Creates a 4-dimensional vector.