Enum runestick::InstValue [−][src]
pub enum InstValue { Unit, Bool(bool), Byte(u8), Char(char), Integer(i64), Float(f64), Type(Hash), }
Expand description
A literal value that can be pushed.
Variants
A unit.
A boolean.
Tuple Fields of Bool
0: bool
A byte.
Tuple Fields of Byte
0: u8
A character.
Tuple Fields of Char
0: char
An integer.
Tuple Fields of Integer
0: i64
A float.
Tuple Fields of Float
0: f64
A type hash.
Tuple Fields of Type
0: Hash
Implementations
Convert into a value that can be pushed onto the stack.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for InstValue
impl UnwindSafe for InstValue
Blanket Implementations
Mutably borrows from an owned value. Read more