Enum wasmtime_environ::FlagValue
source · [−]Expand description
Value of a configured setting for a Compiler
Variants
Enum(Cow<'static, str>)
Name of the value that has been configured for this setting.
Num(u8)
The numerical value of the configured settings.
Bool(bool)
Whether the setting is on or off.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for FlagValue
impl<'de> Deserialize<'de> for FlagValue
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FlagValue
impl StructuralEq for FlagValue
impl StructuralPartialEq for FlagValue
Auto Trait Implementations
impl RefUnwindSafe for FlagValue
impl Send for FlagValue
impl Sync for FlagValue
impl Unpin for FlagValue
impl UnwindSafe for FlagValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.