pub enum VarType {
Int,
Str,
Bool,
Void,
}
Expand description
Variable types for zypo-rs.
Variants§
Int
An integer type (whole number).
Str
A string type (char array/other types). This is not fully worked out yet.
Bool
A boolean (true/false).
Void
A null type, primarily used for functions that do not return anything.
Trait Implementations§
impl StructuralPartialEq for VarType
Auto Trait Implementations§
impl Freeze for VarType
impl RefUnwindSafe for VarType
impl Send for VarType
impl Sync for VarType
impl Unpin for VarType
impl UnwindSafe for VarType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more