pub enum ProgramOptionType {
Show 13 variants
None = 0,
Toggle = 1,
I8 = 2,
I16 = 3,
I32 = 4,
I64 = 5,
U8 = 6,
U16 = 7,
U32 = 8,
U64 = 9,
F32 = 10,
F64 = 11,
String = 12,
}
Expand description
Defines the type of the program options.
Variants§
None = 0
Toggle = 1
I8 = 2
I16 = 3
I32 = 4
I64 = 5
U8 = 6
U16 = 7
U32 = 8
U64 = 9
F32 = 10
F64 = 11
String = 12
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 for ProgramOptionType
impl PartialEq for ProgramOptionType
impl Copy for ProgramOptionType
impl Eq for ProgramOptionType
impl StructuralPartialEq for ProgramOptionType
Auto Trait Implementations§
impl Freeze for ProgramOptionType
impl RefUnwindSafe for ProgramOptionType
impl Send for ProgramOptionType
impl Sync for ProgramOptionType
impl Unpin for ProgramOptionType
impl UnwindSafe for ProgramOptionType
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