Expand description
Vector types.
They do NOT derive PartialOrd and Ord, because it makes no sense for them,
and functions such as partial_min and partial_max may give surprising results
because of this.
They do have element-wise comparison functions though.
Modules§
- repr_c
- Vector types which are marked
#[repr(C)].
Structs§
- Extent2
- Vector type suited for 2D extents (width and height).
- Extent3
- Vector type suited for 3D extents (width, height and depth).
- Rgb
- Vector type suited for RGB color data.
- Rgba
- Vector type suited for RGBA color data.
- Shuffle
Mask4 - Opaque type wrapping a hardware-preferred shuffle mask format for 4D vectors.
- Vec2
- Vector type suited for 2D spatial coordinates.
- Vec3
- Vector type suited for 3D spatial coordinates.
- Vec4
- Vector type suited for homogeneous 3D spatial coordinates.