pub enum FuzzValType {
I32,
I64,
F32,
F64,
}Expand description
The subset of Wasm value types that can be used for host-created globals.
Variants§
Implementations§
Source§impl FuzzValType
impl FuzzValType
Sourcepub fn to_wasmtime(self) -> ValType
pub fn to_wasmtime(self) -> ValType
Convert to the corresponding wasmtime::ValType.
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for FuzzValType
impl<'arbitrary> Arbitrary<'arbitrary> for FuzzValType
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moreSource§impl Clone for FuzzValType
impl Clone for FuzzValType
impl Copy for FuzzValType
Auto Trait Implementations§
impl Freeze for FuzzValType
impl RefUnwindSafe for FuzzValType
impl Send for FuzzValType
impl Sync for FuzzValType
impl Unpin for FuzzValType
impl UnsafeUnpin for FuzzValType
impl UnwindSafe for FuzzValType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more