[][src]Enum runestick::InstValue

pub enum InstValue {
    Unit,
    Bool(bool),
    Byte(u8),
    Char(char),
    Integer(i64),
    Float(f64),
    Type(Hash),
}

A literal value that can be pushed.

Variants

Unit

A unit.

Bool(bool)

A boolean.

Byte(u8)

A byte.

Char(char)

A character.

Integer(i64)

An integer.

Float(f64)

A float.

Type(Hash)

A type hash.

Implementations

impl InstValue[src]

pub fn into_value(self) -> Value[src]

Convert into a value that can be pushed onto the stack.

Trait Implementations

impl Clone for InstValue[src]

impl Copy for InstValue[src]

impl Debug for InstValue[src]

impl<'de> Deserialize<'de> for InstValue[src]

impl Display for InstValue[src]

impl Serialize for InstValue[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.