Function lowertest::deserialize [−][src]
pub fn deserialize<D, I, C>(
stream_iter: &mut I,
type_name: &'static str,
rti: &ReflectedTypeInfo,
ctx: &mut C
) -> Result<D, String> where
C: TestDeserializeContext,
D: DeserializeOwned,
I: Iterator<Item = TokenTree>, 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.