Function zng_var::getter_var
source ยท pub fn getter_var<T: VarValue + Default>() -> ArcVar<T>
Expand description
Variable for getter properties (get_*
, actual_*
).
Getter variables are inited with a default value that is overridden by the property on node init and updated
by the property when the internal state they track changes. They are created automatically by the property
default when used in when
expressions, but can be created manually.