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