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
sourceimpl<'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>,
sourcefn 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 moresourcefn 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 moreAuto Trait Implementations
impl<C> !RefUnwindSafe for ConfiguredComponent<C>
impl<C> !Send for ConfiguredComponent<C>
impl<C> !Sync for ConfiguredComponent<C>
impl<C> Unpin for ConfiguredComponent<C>where
C: Unpin,
impl<C> !UnwindSafe for ConfiguredComponent<C>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more