const_var

Function const_var 

Source
pub fn const_var<T: VarValue>(value: T) -> Var<T>
Expand description

New immutable variable that stores the value directly.

Cloning this variable clones the value.