Enum wasmedge_sys::plugin::ProgramOptionType
source · pub enum ProgramOptionType {
Show 13 variants
None,
Toggle,
I8,
I16,
I32,
I64,
U8,
U16,
U32,
U64,
F32,
F64,
String,
}
Expand description
Defines the type of the program options.
Variants§
Trait Implementations§
source§impl Clone for ProgramOptionType
impl Clone for ProgramOptionType
source§fn clone(&self) -> ProgramOptionType
fn clone(&self) -> ProgramOptionType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ProgramOptionType
impl Debug for ProgramOptionType
source§impl From<ProgramOptionType> for WasmEdge_ProgramOptionType
impl From<ProgramOptionType> for WasmEdge_ProgramOptionType
source§fn from(value: ProgramOptionType) -> Self
fn from(value: ProgramOptionType) -> Self
Converts to this type from the input type.
source§impl From<u32> for ProgramOptionType
impl From<u32> for ProgramOptionType
source§fn from(ty: WasmEdge_ProgramOptionType) -> Self
fn from(ty: WasmEdge_ProgramOptionType) -> Self
Converts to this type from the input type.
source§impl PartialEq<ProgramOptionType> for ProgramOptionType
impl PartialEq<ProgramOptionType> for ProgramOptionType
source§fn eq(&self, other: &ProgramOptionType) -> bool
fn eq(&self, other: &ProgramOptionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.