Skip to main content

Module prelude

Module prelude 

Source

Re-exports§

pub use super::array::*;
pub use super::convert::*;
pub use super::derive::prelude::*;
pub use super::map_on::*;
pub use super::number::*;
pub use super::range::*;
pub use super::unit::*;

Modules§

vector

Structs§

AngleOf
2D Angle, support degree, radian, turn…
Coef
Default value is One.
Matrix
ROW rows, COL columns.
TimeOf
Represents time which can be used as an instant or a duration.
Vector

Enums§

GridBaseError

Traits§

Crop
Crop a selection to a sub selection, where the sub selection is contained in the selection.
GetMatrix
GetMatrixMulExtension
GetPosition
GetRectangle
GetScale
GetSize
HaveW
HaveWAndMinusOne
HaveWAndOne
HaveX
HaveXAndMinusOne
HaveXAndOne
HaveY
HaveYAndMinusOne
HaveYAndOne
HaveZ
HaveZAndMinusOne
HaveZAndOne
IGrid
IterIndex
Map
Similar to Iterator::map. Contrary to MapIntern, it allows changing the item type.
MapIntern
Similar to Iterator::map, but for container-like types that keep their shape.
MapInternWith
Elementwise mapping of two containers of the same type.
MapWith
Elementwise mapping of two containers with possibly different item types.
RotateX
RotateY
RotateZ
SetMatrix
SetPosition
SetRectangle
SetScale
SetSize
SplatCoord1
SplatCoord2
SplatCoord3
SplatCoord4
TimeNow
ToAngle
ToAngleComposite
ToDimension
ToGrid
ToTime
ToTimeComposite
WithDefault

Functions§

bool1
bool2
bool3
point
point1
point2
point3
point4
rect1
rect2
rect3
rect4
rect1i
rect2i
rect3i
rect4i
rectangle1
rectangle2
rectangle3
rectangle4
vec1
vec2
vec3
vec4
vec4b
vector
vector1
vector2
vector3
vector4

Type Aliases§

Angle
2D Angle, support degree, radian, turn…
Bool
Bool1
Bool2
Bool3
Bool4
DeltaTime
Represents time which can be used as an instant or a duration.
DeltaTimeOf
Represents time which can be used as an instant or a duration.
Grid
Grid1
Grid2
Grid3
Grid4
GridError
Mat
Mat1
1x1 matrix of float
Mat2
2x2 matrix of float
Mat3
3x3 matrix of float
Mat4
4x4 matrix of float
Mat1i
1x1 matrix of integer
Mat2i
2x2 matrix of integer
Mat3i
3x3 matrix of integer
Mat4i
4x4 matrix of integer
Matrix1
1x1 matrix
Matrix2
2x2 matrix
Matrix3
3x3 matrix
Matrix4
4x4 matrix
Point
Point1
Point2
Point3
Point4
Rect1
Rect2
Rect3
Rect4
Rect1i
Rect2i
Rect3i
Rect4i
Rectangle
Rectangle1
Rectangle2
Rectangle3
Rectangle4
SquareMatrix
NxN matrix
Time
Represents time which can be used as an instant or a duration.
Vec1
Vec2
Vec3
Vec4
Vector1
Vector2
Vector3
Vector4
coef
Same as float, but just to mark the different use case.
float
Default unsigned floating type
int
Default signed integer type
uint
Default unsigned integer type