Function zng_var::var_from

source ·
pub fn var_from<T: VarValue, U: Into<T>>(source: U) -> ArcVar<T>
Expand description

New ref counted read/write variable with initial value converted from source.