pub struct DefaultConfig;
Expand description

The default configuration.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

The minimum number of types to generate. Defaults to 0.

The maximum number of types to generate. Defaults to 100.

The minimum number of imports to generate. Defaults to 0. Read more

The maximum number of imports to generate. Defaults to 100.

The minimum number of tags to generate. Defaults to 0.

The maximum number of tags to generate. Defaults to 100.

The imports that may be used when generating the module. Read more

The minimum number of functions to generate. Defaults to 0. This includes imported functions. Read more

The maximum number of functions to generate. Defaults to 100. This includes imported functions. Read more

The minimum number of globals to generate. Defaults to 0. This includes imported globals. Read more

The maximum number of globals to generate. Defaults to 100. This includes imported globals. Read more

The minimum number of exports to generate. Defaults to 0.

The maximum number of exports to generate. Defaults to 100.

The minimum number of element segments to generate. Defaults to 0.

The maximum number of element segments to generate. Defaults to 100.

The minimum number of elements within a segment to generate. Defaults to 0. Read more

The maximum number of elements within a segment to generate. Defaults to 100. Read more

The minimum number of data segments to generate. Defaults to 0.

The maximum number of data segments to generate. Defaults to 100.

The maximum number of instructions to generate in a function body. Defaults to 100. Read more

The minimum number of memories to use. Defaults to 0. This includes imported memories. Read more

The maximum number of memories to use. Defaults to 1. This includes imported memories. Read more

The minimum number of tables to use. Defaults to 0. This includes imported tables. Read more

The maximum number of tables to use. Defaults to 1. This includes imported tables. Read more

The maximum, in 64k Wasm pages, of any memory’s initial or maximum size. Read more

Whether every Wasm memory must have a maximum size specified. Defaults to false. Read more

The maximum number of instances to use. Defaults to 10. This includes imported instances. Read more

The maximum number of modules to use. Defaults to 10. This includes imported modules. Read more

The maximum number of components to use. Defaults to 10. This includes imported components. Read more

The maximum number of values to use. Defaults to 10. This includes imported values. Read more

Control the probability of generating memory offsets that are in bounds vs. potentially out of bounds. Read more

The minimum size, in bytes, of all leb-encoded integers. Defaults to 1. Read more

Determines whether the bulk memory proposal is enabled for generating instructions. Read more

Determines whether the reference types proposal is enabled for generating instructions. Read more

Determines whether the SIMD proposal is enabled for generating instructions. Read more

Determines whether the Relaxed SIMD proposal is enabled for generating instructions. Read more

Determines whether the exception-handling proposal is enabled for generating instructions. Read more

Determines whether the multi-value results are enabled. Read more

Determines whether the nontrapping-float-to-int-conversions propsal is enabled. Read more

Determines whether the sign-extension-ops propsal is enabled. Read more

Determines whether a start export may be included. Defaults to true.

Returns the maximal size of the alias section.

Returns the maximal nesting depth of modules with the module linking proposal. Read more

Returns the maximal effective size of any type generated by wasm-smith. Read more

Returns whether 64-bit memories are allowed. Read more

Returns whether NaN values are canonicalized after all f32/f64 operation. Read more

Returns the kinds of instructions allowed in the generated wasm programs. Read more

Returns whether we should generate custom sections or not. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. 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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.