[][src]Module canrust::canvas

Main structs

Structs

Button

Representation of a clickable button, that when clicked will execute a function bound to it.

Canvas

Main object responsible for managing a window and rendering stuff.

Circle

Representation of a Circle object.

Color

Representation of a RGB or RGBA color.

Line

Representation of a Line object

Polygon

Representation of multi-point convex shape object.

Rectangle

Representation of a Rectangle object.

Text

Representation of a text that can be displayed onto the Canvas

Enums

Retrieve

Enum used for retrieving objects from Canvas.

Traits

CShape

Work in progress!