Enum librsnek::system::primitives::Native [] [src]

pub enum Native {
    Str(String),
    Int(Integer),
    Float(Float),
    Bool(Boolean),
    Complex(Complex),
    Count(Count),
    Code(Code),
    List(List),
    None,
}

Enum of well known primitive types similar to modules::builtins::type::Type.

Variants

Trait Implementations

impl Debug for Native
[src]

Formats the value using the given formatter.

impl Clone for Native
[src]

Returns a copy of the value.

Performs copy-assignment from source.

impl<'a> From<&'a OwnedTk> for Native
[src]

Convert an &OwnedTk into a Native type by token id.

impl<'a> From<&'a str> for Native
[src]

Convert a str into Native::Str as s convenience.