Expand description
§The Circle
Structs§
- Ball
- Circle
- Circle3D
- Ellipse
- Ellipse3D
- Line
- A circle.
- Line3D
- A circle.
- Parallelogram
- Point
- A 2D point.
- Point3D
- Polygon
- Rectangle
- A rectangle without rotated.
- Square
- A square without rotated.
- Triangle
- Vector
- Vector3D
Traits§
- Area
- Distance
- Equal
Thousand - Num
- The base trait for numeric types, covering
0
and1
values, comparisons, basic numeric operations, and string conversion. - One
- Defines a multiplicative identity element for
Self
. - Real
- A trait for real number types that do not necessarily have floating-point-specific characteristics such as NaN and infinity.
- Signed
- Useful functions for signed numbers (i.e. numbers that can be negative).
- Valid
Shape - Zero
- Defines an additive identity element for
Self
.