Crate paws[−][src]
Expand description
paws is a very simple, bring-your-own-backend UI library built for quick prototyping and easy embedding
in existing projects. If you’re looking for docs on how to start, see Ui
.
Re-exports
Macros
Convenience macro for push
ing and pop
ping groups automatically.
Structs
An 8-bit RGBA color.
A dummy renderer. This can be used for executing graphics commands without a graphical backend available.
A dummy font used by the NoRenderer backend.
Padding amounts.
An axis-aligned rectangle.
UI state. This is what’s used for laying out groups and drawing to the screen.
A two-dimensional vector.
Enums
Horizontal alignment position.
Vertical alignment position.
Group layout type. This defines how subgroups are arranged inside of a group.
The type of line cap to use when rendering.
Constants
Convenience const for (Center, Middle)
alignment.
Traits
The renderer trait, used for all things drawing-related.
Functions
Shorthand for Point::new(x, y)
, which is equivalent to Vector::new(x, y)
.
Creates a new color from RGB channels.
Creates a new color from RGBA channels. Shorthand for Color::new(r, g, b, a)
.
Shorthand for Vector::new(x, y)
.