Lines Matching refs:arbitrary
5 …<p><strong>The trait for generating structured data from arbitrary, unstructured input.</strong></…
13 The `Arbitrary` crate lets you construct arbitrary instance of a type.
24 [**Read the API documentation on `docs.rs`!**](https://docs.rs/arbitrary)
30 you could take arbitrary `Rgb` instances in a test function that asserts some
46 arbitrary = { version = "1", features = ["derive"] }
54 use arbitrary::Arbitrary;
71 use arbitrary::{Arbitrary, Result, Unstructured};
81 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> {
82 let r = u8::arbitrary(u)?;
83 let g = u8::arbitrary(u)?;
84 let b = u8::arbitrary(u)?;