ferroui-base 0.3.0

The base library of FerroUI: the property system, layout, input, styling, media, text, animation, data binding and the compositor
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Describes the timing of binding source updates.
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
#[repr(i32)]
pub enum UpdateSourceTrigger {
    /// The default update source trigger, currently `PropertyChanged`.
    #[default]
    Default = 0,
    /// Updates the binding source immediately whenever the binding target
    /// property changes.
    PropertyChanged = 1,
    /// Updates the binding source whenever the binding target element loses
    /// focus.
    LostFocus = 2,
    /// Updates the binding source only when `update_source` is called on the
    /// binding expression.
    Explicit = 3,
}