Re-exports§
pub use euclid;
Structs§
- Angle in degrees.
- Angle in gradians.
- Angle in radians.
- Angle in turns (complete rotations).
- A length in bytes.
- Ellipses that define the radius of the four corners of a 2D box.
- Device independent pixel.
- Comparable key that represents the absolute distance between two pixel points.
- Normalized multiplication factor.
- Multiplication factor in percentage (0%-100%).
- Device pixel.
- RGB + alpha.
- Color functions argument conversion helper.
- A group of 2D side offsets, which correspond to top/right/bottom/left for borders, padding, and margins in CSS, optionally tagged with a unit.
Enums§
- Orientation of two 2D items.
- A transform in device pixels.
Constants§
- Minimal difference between values in around the 0.0..=1.0 scale.
- Minimal difference between values in around the 1.0..=100.0 scale.
Traits§
- Extension methods for initializing angle units.
- Extension methods for initializing
ByteLength
values. - Extension methods for initializing factor units.
- Extension methods for initializing
Duration
values.
Functions§
f32
equality used in floating-point units.
Type Aliases§
- A rectangle box in device independent pixels.
- Corner-radius in device independent pixels.
- A point in device independent pixels.
- A rectangle in device independent pixels.
- Side-offsets in device independent pixels.
- A size in device pixels.
- A vector in device independent pixels.
- A rectangle box in device pixels.
- Corner-radius in device pixels.
- A point in device pixels.
- A rectangle in device pixels.
- Side-offsets in device pixels.
- A size in device pixels.
- A vector in device pixels.