Crate primitives[][src]

Modules

Very nice color palette

Structs

A 2d axis aligned rectangle represented by its minimum and maximum coordinates.

A 2d Vector tagged with a unit.

A 2d Vector tagged with a unit.

A 3d Vector tagged with a unit.

A 2d Rectangle optionally tagged with a unit.

A 2d size tagged with a unit.

A 2d size tagged with a unit.

A 2d Vector tagged with a unit.

A 3d Vector tagged with a unit.

Enums

FontWeight: Normal: Normal font weight Bold: Bold font weight Bolder: Bolder font weight Lighter: Lighter font weight

A representation of the RGB (Red, Green, Blue) color space.

TextAlign: Left: align text to the left Right: align text to the right Center: center the text Justify: justify the text

Traits

Important part of UX Framework

Functions

Shorthand for Rect::new(Point::new(x, y), Size::new(w, h)).

Shorthand for Size2D::new(w, h).