[−][src]Crate sixtyfps_corelib
SixtyFPS runtime library
NOTE: This library is an internal crate for the SixtyFPS project.
This crate should not be used directly by application using SixtyFPS.
You should use the sixtyfps
crate instead
Modules
animations | The animation system |
component | This module contains the basic datastructures that are exposed to the C API |
eventloop | This module contains the event loop implementation using winit, as well as the GenericWindow trait used by the generated code and the run-time to change aspects of windows on the screen. |
font | |
graphics | Graphics Abstractions. |
input | Module handling mouse events |
item_rendering | module for rendering the tree of items |
item_tree | |
items | This module contains the list of builtin items. |
layout | Runtime support for layouting. |
model | Model and Repeater |
properties | Property binding engine. |
sharedarray | module for the SharedArray and related things |
signals | Signal that can be connected to one sigle handler. |
slice | FFI-friendly slice |
string | module for the SharedString and related things |
tests | Functions usefull for testing |
timers | Support for timers. |
Macros
ComponentVTable_static | Instantiate a static ComponentVTable for a given type and implements |
ItemVTable_static | Instantiate a static ItemVTable for a given type and implements |
ItemVisitorVTable_static | Instantiate a static ItemVisitorVTable for a given type and implements |
Structs
ARGBColor | ARGBColor stores the red, green, blue and alpha components of a color
with the precision of the generic parameter T. For example if T is f32,
the values are normalized between 0 and 1. If T is u8, they values range
is 0 to 255.
This is merely a helper class for use with |
Color | Color represents a color in the SixtyFPS run-time, represented using 8-bit channels for red, green, blue and the alpha (opacity). It can be conveniently constructed and destructured using the to_ and from_ (a)rgb helper functions: |
Property | A Property that allow binding that track changes |
SharedArray | SharedArray holds a reference-counted read-only copy of |
SharedString | A string type used by the SixtyFPS run-time. |
Signal | A Signal that can be connected to a handler. |
Enums
PathData | PathData represents a path described by either high-level elements or low-level events and coordinates. |
Resource | A resource is a reference to binary data, for example images. They can be accessible on the file system or embedded in the resulting binary. Or they might be URLs to a web server and a downloaded is necessary before they can be used. |