[][src]Module sixtyfps_corelib::properties

Property binding engine.

The current implementation uses lots of heap allocation but that can be optimized later using thin dst container, and intrusive linked list

Structs

Property

A Property that allow binding that track changes

PropertyTracker

This structure allow to run a closure that queries properties, and can report if any property we accessed have become dirty

StateInfo

Value of the state property

Traits

Binding

Types that can be set as bindings for a Property

InterpolatedPropertyValue

InterpolatedPropertyValue is a trait used to enable properties to be used with animations that interpolate values. The basic requirement is the ability to apply a progress that's typically between 0 and 1 to a range.

Functions

set_state_binding

Sets a binding that returns a state to a StateInfo property