Lines Matching refs:Arbitrary
5 fn arbitrary_from<'a, T: Arbitrary<'a>>(input: &'a [u8]) -> T { in arbitrary_from()
10 #[derive(Copy, Clone, Debug, Eq, PartialEq, Arbitrary)]
24 assert_eq!((3, Some(3)), <Rgb as Arbitrary>::size_hint(0)); in struct_with_named_fields()
27 #[derive(Copy, Clone, Debug, Arbitrary)]
40 assert_eq!((2, Some(2)), <MyTupleStruct as Arbitrary>::size_hint(0)); in tuple_struct()
43 #[derive(Clone, Debug, Arbitrary)]
45 #[derive(Clone, Debug, Arbitrary)]
63 #[derive(Copy, Clone, Debug, Arbitrary)]
113 assert_eq!((4, Some(17)), <MyEnum as Arbitrary>::size_hint(0)); in derive_enum()
116 #[derive(Arbitrary, Debug)]
130 let (lower, upper) = <RecursiveTree as Arbitrary>::size_hint(0); in recursive()
138 #[derive(Arbitrary, Debug)]
149 let (lower, upper) = <Generic<u32> as Arbitrary>::size_hint(0); in generics()
154 #[derive(Arbitrary, Debug)]
166 let (lower, upper) = <OneLifetime as Arbitrary>::size_hint(0); in one_lifetime()
171 #[derive(Arbitrary, Debug)]
185 let (lower, upper) = <TwoLifetimes as Arbitrary>::size_hint(0); in two_lifetimes()