Skip to main content

Crate verdant

Crate verdant 

Source

Modules§

errors
image
shapes
text
transform
types
vec
view
window

Structs§

KeyEvent
Describes a keyboard input targeting a window.
Renderer

Enums§

ElementState
Describes the input state of a key.
Key
Key represents the meaning of a keypress.
KeyCode
Code is the physical position of a key.
MouseButton
Identifies a button of a mouse controller.
MouseScrollDelta
Describes a difference in the mouse scroll wheel state.
NamedKey
Key represents the meaning of a keypress.
PhysicalKey
Represents the location of a physical key.
WindowEvent
Describes an event from a [Window].

Functions§

rgb
Constructs a Color from RGB components in the range 0.0..=1.0, with full opacity.
rgb255
Constructs a Color from RGB components in the range 0.0..=255.0, with full opacity.
rgba
Constructs a Color from RGBA components in the range 0.0..=1.0.
rgba255
Constructs a Color from RGBA components in the range 0.0..=255.0.

Type Aliases§

RendererResult