Skip to main content

Module geometry

Module geometry 

Source
Expand description

Basic geometry primitives for layout calculations.

Structs§

LayoutPoint
Only used for calculations: Point coordinate (x, y) in layout space.
LayoutRect
Only used for calculations: Rectangle (x, y, width, height) in layout space.
LayoutRectVec
LayoutRectVecSlice
C-compatible slice type for $struct_name. This is a non-owning view into a Vec’s data.
LayoutSize
Only used for calculations: Size (width, height) in layout space.

Enums§

LayoutRectVecDestructor
OptionLayoutPoint
OptionLayoutRect
OptionLayoutSize

Type Aliases§

LayoutRectVecDestructorType