Module rin::prelude[][src]

Prelude mod to make it easier to use rin, on applications import preamble like:

use rin::prelude::*;

which will import the most used constants, traits…

Statics

RINGREEN
RINRED

Traits

ApplicationCallbacks

Trait to be implemented by applications that want to run under through an Application object

CameraExt
CameraOrthographic
CameraPerspective
Events

Trait to transform a general window event into specific mouse, key…

GeometryIterator
InsidePolygon

Trait to check if a point is inside a polygon

InsideRect

Trait to calculate if something is inside a rectangle

KeyEvents
LogErr
Material

Common trait to all materials

MouseEvents
NodeMut

Trait to implement by objects that conatain a node and want to expose it’s same api

NodeRef

Trait to implement by objects that conatain a node and want to expose it’s same api

RectToMesh
Render2d
Render3d
Renderer2d

2D rendering functionality for Renderer

Renderer3d
StreamExt
ToLab
ToRgb
ToRgba
ToSimpleVao
ToXyz
ToYxy
WindowEvents
WindowExt

Derive Macros

ParamsDefault