[][src]Enum endbasic::ast::VarType

pub enum VarType {
    Auto,
    Boolean,
    Integer,
    Text,
}

Collection of types for a variable.

Variants

Auto

Unspecified type identifier. The type is determined by the value of the variable.

Boolean

A boolean variable.

Integer

An integer variable.

Text

A string variable. This should really be called String but it would get confusing with the built-in Rust type.

Trait Implementations

impl Clone for VarType[src]

impl Copy for VarType[src]

impl Debug for VarType[src]

impl Eq for VarType[src]

impl PartialEq<VarType> for VarType[src]

impl StructuralEq for VarType[src]

impl StructuralPartialEq for VarType[src]

Auto Trait Implementations

impl RefUnwindSafe for VarType

impl Send for VarType

impl Sync for VarType

impl Unpin for VarType

impl UnwindSafe for VarType

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> Sealed<T> for T where
    T: ?Sized

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

type Owned = T

The resulting type after obtaining ownership.

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.