Expand description
Geometric primitives useful for layout
Structs§
- InBoth
AbsAxis 🔒 - Container that holds an item in each absolute axis without specifying what kind of item it is.
- Line
- An abstract “line”. Represents any type that has a start and an end
- MinMax
- Generic struct which holds a “min” value and a “max” value
- Point
- A 2-dimensional coordinate.
- Rect
- An axis-aligned UI rectangle
- Size
- The width and height of a
Rect
Enums§
- Absolute
Axis - The simple absolute horizontal and vertical axis
- Abstract
Axis - The CSS abstract axis https://www.w3.org/TR/css-writing-modes-3/#abstract-axes