pub struct ConfiguredComponent<C> {
    pub component: Component,
    /* private fields */
}
Expand description

A pseudo-random generated Wasm component with custom configuration.

If you don’t care about custom configuration, use Component instead.

For details on configuring, see the Config trait.

Fields

component: Component

The generated component, controlled by the configuration of C in the Arbitrary implementation.

Trait Implementations

Generate an arbitrary value of Self from the given unstructured data. Read more
Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.