Skip to main content

from_value

Function from_value 

Source
pub fn from_value<T>(value: Value) -> Result<T, Error>
Expand description

Deserialise a snix_eval::Value directly into a T without going through Nix evaluation. This is the inverse of crate::to_value.