#[repr(i32)]pub enum Type {
Type_Nil = 0,
Type_Boolean = 1,
Type_Number = 2,
Type_Integer = 3,
Type_Vector = 4,
Type_String = 5,
Type_Import = 6,
Type_Table = 7,
Type_Closure = 8,
Type_ClassShape = 9,
}Variants§
Type_Nil = 0
Type_Boolean = 1
Type_Number = 2
Type_Integer = 3
Type_Vector = 4
Type_String = 5
Type_Import = 6
Type_Table = 7
Type_Closure = 8
Type_ClassShape = 9
Implementations§
Source§impl Type
impl Type
pub const Type_Nil: Type = Type::Type_Nil
pub const Type_Boolean: Type = Type::Type_Boolean
pub const Type_Number: Type = Type::Type_Number
pub const Type_Integer: Type = Type::Type_Integer
pub const Type_Vector: Type = Type::Type_Vector
pub const Type_String: Type = Type::Type_String
pub const Type_Import: Type = Type::Type_Import
pub const Type_Table: Type = Type::Type_Table
pub const Type_Closure: Type = Type::Type_Closure
pub const Type_ClassShape: Type = Type::Type_ClassShape
Trait Implementations§
impl Copy for Type
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnsafeUnpin for Type
impl UnwindSafe for Type
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