Module geometry

Source
Expand description

Geometric primitives useful for layout

Structs§

InBothAbsAxis 🔒
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§

AbsoluteAxis
The simple absolute horizontal and vertical axis
AbstractAxis
The CSS abstract axis https://www.w3.org/TR/css-writing-modes-3/#abstract-axes