Struct wasm_smith::ConfiguredComponent
source · pub struct ConfiguredComponent<C> {
pub component: Component,
/* private fields */
}
Expand description
Fields§
§component: Component
The generated component, controlled by the configuration of C
in the
Arbitrary
implementation.
Trait Implementations§
source§impl<'a, C> Arbitrary<'a> for ConfiguredComponent<C>where
C: Config + Arbitrary<'a>,
impl<'a, C> Arbitrary<'a> for ConfiguredComponent<C>where
C: Config + Arbitrary<'a>,
source§fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read more