pub fn to_value<T: Serialize>(value: &T) -> Result<Value, Error>Expand description
Serialise a Rust value into a snix_eval::Value.
This is the inverse of crate::from_value.
pub fn to_value<T: Serialize>(value: &T) -> Result<Value, Error>Serialise a Rust value into a snix_eval::Value.
This is the inverse of crate::from_value.