Function mz_lowertest::deserialize

source ·
pub fn deserialize<D, I, C>(
    stream_iter: &mut I,
    type_name: &'static str,
    ctx: &mut C
) -> Result<D, String>
Expand description

Deserialize the next TokenTree into a D object.

See to_json for the object spec syntax.

type_name should be D in string form.

stream_iter will advance by one TokenTree no matter the result.