Function zng::var::var_from

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

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