Enum endbasic_core::ast::VarType [−][src]
pub enum VarType {
Auto,
Boolean,
Double,
Integer,
Text,
Void,
}
Expand description
Collection of types for a variable.
Variants
Unspecified type identifier. The type is determined by the value of the variable.
A boolean variable.
A double-precision floating point variable.
An integer variable.
A string variable. This should really be called String
but it would get confusing with
the built-in Rust type.
The nothingness type. Used to represent the return value of commands.
Implementations
Returns the type annotation for this type.
Returns the default value to assign to this type.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VarType
impl UnwindSafe for VarType
Blanket Implementations
Mutably borrows from an owned value. Read more