Skip to main content

value_as_shape

Function value_as_shape 

Source
pub fn value_as_shape(value: &Value) -> Result<&dyn Shape>
Expand description

Borrows the shape backing a value, or errors if it is not a shape.