Re-exports§
pub use hexga_typedef as typedef;pub use hexga_number as number;
Modules§
- angle
- grid
- grid_
param - matrix
- prefix
- Contains some common prefix, such as
[Kilo],[Milli],[Tera] - prelude
- rectangle
- time
- vector
Macros§
- impl_
fixed_ array_ like - impl_
fixed_ array_ like_ display - impl_
fixed_ array_ like_ op - impl_
fixed_ array_ like_ op_ assign - impl_
fixed_ array_ like_ op_ binary - impl_
fixed_ array_ like_ op_ binary_ composite - impl_
fixed_ array_ like_ op_ binary_ non_ composite - impl_
fixed_ array_ like_ with_ op - impl_
generic_ array_ like - impl_
generic_ array_ like_ display - impl_
generic_ array_ like_ op - impl_
generic_ array_ like_ op_ assign - impl_
generic_ array_ like_ op_ binary - impl_
generic_ array_ like_ op_ binary_ composite - impl_
generic_ array_ like_ op_ binary_ non_ composite - impl_
generic_ array_ like_ with_ op
Structs§
- Coef
Wrapper - Wrap the coef inside for a new type. Used to differenciate the type Coef and float because they are the same
- ColorHSLA
Of - ColorRGBA
Of
Traits§
- Absolute
- Array
Like - Array
Like Extension - Cast
Bool - Cast
Float - Cast
From - Might lose some precision.
Same semantics as the as keyword:
4f32 as u64 - Cast
Integer - Cast
Integer Signed - Cast
Integer Unsigned - Cast
Into - Might lose some precision.
Same semantics as the as keyword:
4f32 as u64 - Cast
Into Composite - Might lose some precision.
Same semantics as the as keyword:
4f32 as u64 - Cast
Number - Cast
Primitive - Default
Range - For floating the range is :
[0., 1.]. For integers the range is :[0, MAX], even for signed - Extension
Array ToTuple - Extension
AsArray - Extension
AsArray Mut - Extension
AsSlice - Extension
AsSlice Mut - Extension
From Array - Extension
ToArray - Floating
Number - Generalized function and constant for floating point like
f32,f64… - From
Coef - IColor
- Lerpable
- OddOr
Even - Partial
OrdExtension - Position
- Positive
OrNegative - RotationX
- RotationY
- RotationZ
- Take
Half - ToCoef
- ToColor
Rep - ToF32
- ToF64
- ToFloat
- ToI8
- ToI16
- ToI32
- ToI64
- ToISize
- ToInt
- ToSigned
- For type that have a signed equivalent
- ToU8
- ToU16
- ToU32
- ToU64
- ToUInt
- ToUSize
- ToUnsigned
- For type that have an unsigned equivalent
- ToVector
Filled - Two
- Define the
2representation for the number