[−][src]Struct wasm_smith::SwarmConfig
A module configuration that uses swarm testing.
Dynamically -- but still deterministically, via its Arbitrary
implementation -- chooses configuration options.
Trait Implementations
impl Arbitrary for SwarmConfig
[src]
pub fn arbitrary(u: &mut Unstructured<'_>) -> Result<Self>
[src]
pub fn arbitrary_take_rest(u: Unstructured<'_>) -> Result<Self, Error>
[src]
pub fn size_hint(depth: usize) -> (usize, Option<usize>)
[src]
pub fn shrink(&self) -> Box<dyn Iterator<Item = Self> + 'static, Global>
[src]
impl Clone for SwarmConfig
[src]
pub fn clone(&self) -> SwarmConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Config for SwarmConfig
[src]
pub fn max_types(&self) -> usize
[src]
pub fn max_imports(&self) -> usize
[src]
pub fn max_funcs(&self) -> usize
[src]
pub fn max_globals(&self) -> usize
[src]
pub fn max_exports(&self) -> usize
[src]
pub fn max_element_segments(&self) -> usize
[src]
pub fn max_elements(&self) -> usize
[src]
pub fn max_data_segments(&self) -> usize
[src]
pub fn max_instructions(&self) -> usize
[src]
pub fn max_memories(&self) -> u32
[src]
pub fn max_tables(&self) -> u32
[src]
pub fn min_uleb_size(&self) -> u8
[src]
pub fn bulk_memory_enabled(&self) -> bool
[src]
pub fn reference_types_enabled(&self) -> bool
[src]
pub fn memory_offset_choices(&self) -> (u32, u32, u32)
[src]
impl Debug for SwarmConfig
[src]
impl Default for SwarmConfig
[src]
pub fn default() -> SwarmConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for SwarmConfig
impl Send for SwarmConfig
impl Sync for SwarmConfig
impl Unpin for SwarmConfig
impl UnwindSafe for SwarmConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,