Skip to main content

from_value

Function from_value 

Source
pub fn from_value(v: &Value) -> Result<Expr, String>
Expand description

A size expression as data (see the module’s doc): a number, a string, { pct } / { percent } / { px }, or a one-key { min | max | clamp = [args] }.