Searched refs:arbitrary_take_rest (Results 1 – 6 of 6) sorted by relevance
178 fn arbitrary_take_rest(mut u: Unstructured<'a>) -> Result<Self> { in arbitrary_take_rest() method556 fn arbitrary_take_rest(mut u: Unstructured<'a>) -> Result<Self> {558 let $last = $last::arbitrary_take_rest(u)?;587 fn arbitrary_take_rest(mut u: Unstructured<'a>) -> Result<[T; $n]> {589 let last = Arbitrary::arbitrary_take_rest(u)?;613 fn arbitrary_take_rest(_: Unstructured<'a>) -> Result<[T; 0]> { in arbitrary_take_rest() method635 fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self> { in arbitrary_take_rest() method650 fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self> { in arbitrary_take_rest() method665 fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self> { in arbitrary_take_rest() method680 fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self> { in arbitrary_take_rest() method[all …]
553 Some(Arbitrary::arbitrary_take_rest(u)) in next()
74 let arbitrary_take_rest = construct_take_rest(fields); in gen_arbitrary_method() localVariable80 … fn arbitrary_take_rest(mut u: arbitrary::Unstructured<#lifetime>) -> arbitrary::Result<Self> { in gen_arbitrary_method()81 Ok(#ident #arbitrary_take_rest) in gen_arbitrary_method()115 … fn arbitrary_take_rest(mut u: arbitrary::Unstructured<#lifetime>) -> arbitrary::Result<Self> { in gen_arbitrary_method()153 quote! { arbitrary::Arbitrary::arbitrary_take_rest(u)? } in construct_take_rest()
51 let s1 = EndingInVec::arbitrary_take_rest(Unstructured::new(&bytes)).unwrap(); in test_take_rest()52 let s2 = EndingInString::arbitrary_take_rest(Unstructured::new(&bytes)).unwrap(); in test_take_rest()
157 let data = <$dty as Arbitrary>::arbitrary_take_rest(u);
248 * Added the `Arbitrary::arbitrary_take_rest` method allows an `Arbitrary`