Lines Matching full:unstructured
28 pub mod unstructured; module
39 pub use unstructured::Unstructured;
54 /// Generate arbitrary structured values from raw, unstructured data.
58 /// raw, unstructured bytes provided by a fuzzer.
121 /// [`Unstructured`] type helps you with these tasks.
130 /// use arbitrary::{Arbitrary, Result, Unstructured};
136 /// fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> {
164 /// Generate an arbitrary value of `Self` from the given unstructured data.
168 /// raw data in an `Unstructured`, and then you can call `<MyType as
170 /// from that unstructured data.
184 /// use arbitrary::{Arbitrary, Unstructured};
195 /// // Wrap that raw data in an `Unstructured`.
196 /// let mut unstructured = Unstructured::new(raw_data);
199 /// if let Ok(value) = MyType::arbitrary(&mut unstructured) {
206 /// See also the documentation for [`Unstructured`].
207 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>; in arbitrary()
210 /// unstructured data.
215 /// [`Unstructured`].
216 fn arbitrary_take_rest(mut u: Unstructured<'a>) -> Result<Self> { in arbitrary_take_rest()
220 /// Get a size hint for how many bytes out of an `Unstructured` this type
244 /// use arbitrary::{size_hint, Arbitrary, Result, Unstructured};
249 /// fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> {
267 /// use arbitrary::{size_hint, Arbitrary, MaxRecursionReached, Result, Unstructured};
275 /// fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> {
325 /// Get a size hint for how many bytes out of an `Unstructured` this type
377 /// use arbitrary::{size_hint, Arbitrary, MaxRecursionReached, Unstructured};
391 /// fn arbitrary(u: &mut Unstructured) -> arbitrary::Result<Self> {