swamp_script_eval::value

Function to_rust_value

Source
pub fn to_rust_value<T: RustType + 'static>(
    type_ref: ResolvedRustTypeRef,
    value: T,
) -> Value