Enum wasmtime_environ::FlagValue
source · pub enum FlagValue<'a> {
Enum(&'a str),
Num(u8),
Bool(bool),
}
Expand description
Value of a configured setting for a Compiler
Variants§
Enum(&'a 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§
source§impl<'de: 'a, 'a> Deserialize<'de> for FlagValue<'a>
impl<'de: 'a, 'a> Deserialize<'de> for FlagValue<'a>
source§fn 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
source§impl<'a> PartialEq for FlagValue<'a>
impl<'a> PartialEq for FlagValue<'a>
impl<'a> Eq for FlagValue<'a>
impl<'a> StructuralPartialEq for FlagValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for FlagValue<'a>
impl<'a> RefUnwindSafe for FlagValue<'a>
impl<'a> Send for FlagValue<'a>
impl<'a> Sync for FlagValue<'a>
impl<'a> Unpin for FlagValue<'a>
impl<'a> UnwindSafe for FlagValue<'a>
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.