zng::var

Function 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.