Trait arbitrary::Arbitrary [] [src]

pub trait Arbitrary: Sized + 'static {
    fn arbitrary<U: Unstructured + ?Sized>(u: &mut U) -> Result<Self, U::Error>;

    fn shrink(&self) -> Box<Iterator<Item = Self>> { ... }
}

Required Methods

Generate arbitrary structured data from unstructured data.

Provided Methods

Generate derived values which are “smaller” than the original one.

Implementors