Module vek::vec::repr_c [] [src]

Vector types which are marked #[repr(packed, C)].

You can instantiate any vector type of this module with any type T.

Reexports

pub use self::vec2::Vec2;
pub use self::vec3::Vec3;
pub use self::vec4::Vec4;
pub use self::vec8::Vec8;
pub use self::vec16::Vec16;
pub use self::vec32::Vec32;
pub use self::vec64::Vec64;
pub use self::xyzw::Xyzw;
pub use self::xyz::Xyz;
pub use self::xy::Xy;
pub use self::extent3::Extent3;
pub use self::extent2::Extent2;
pub use self::rgba::Rgba;
pub use self::rgb::Rgb;
pub use self::uvw::Uvw;
pub use self::uv::Uv;

Modules

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.

uv

Vector type suited for 2D texture coordinates.

uvw

Vector type suited for 3D texture coordinates.

vec2

A two-components generic vector type.

vec3

A three-components generic vector type.

vec4

A four-components generic vector type.

vec8

An eight-components generic vector type.

vec16

A sixteen-components generic vector type.

vec32

A thirty-two-components generic vector type.

vec64

A sixty-four-components generic vector type.

xy

Vector type suited for 2D spatial coordinates.

xyz

Vector type suited for 3D spatial coordinates.

xyzw

Vector type suited for homogeneous 3D spatial coordinates.