[][src]Enum rant::RantValueType

#[repr(u8)]pub enum RantValueType {
    String,
    Float,
    Integer,
    Boolean,
    Function,
    List,
    Map,
    Special,
    Empty,
}

A lightweight representation of a Rant value's type.

Variants

String

The string type.

Float

The float type.

Integer

The integer type.

Boolean

The bool type.

Function

The function type.

List

The list type.

Map

The map type.

Special

The special type.

Empty

The empty type.

Implementations

impl RantValueType[src]

pub fn name(&self) -> &'static str[src]

Gets a string slice representing the type.

Trait Implementations

impl Clone for RantValueType[src]

impl Copy for RantValueType[src]

impl Debug for RantValueType[src]

impl Display for RantValueType[src]

impl PartialEq<RantValueType> for RantValueType[src]

impl StructuralPartialEq for RantValueType[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> 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,