#[repr(C)]pub enum LuaType {
Show 46 variants
None = -1,
Nil = 0,
Bool = 1,
LightUserdata = 2,
Number = 3,
String = 4,
Table = 5,
Function = 6,
Userdata = 7,
Thread = 8,
Entity = 9,
Vector = 10,
Angle = 11,
PhysObj = 12,
Save = 13,
Restore = 14,
DamageInfo = 15,
EffectData = 16,
MoveData = 17,
RecipientFilter = 18,
UserCmd = 19,
ScriptedVehicle = 20,
Material = 21,
Panel = 22,
Particle = 23,
ParticleEmitter = 24,
Texture = 25,
UserMsg = 26,
ConVar = 27,
IMesh = 28,
Matrix = 29,
Sound = 30,
PixelVisHandle = 31,
DLight = 32,
Video = 33,
File = 34,
Locomotion = 35,
Path = 36,
NavArea = 37,
SoundHandle = 38,
NavLadder = 39,
ParticleSystem = 40,
ProjectedTexture = 41,
PhysCollide = 42,
SurfaceInfo = 43,
Count = 44,
}Expand description
Taken from https://wiki.facepunch.com/gmod/Enums/TYPE
Variants§
None = -1
Nil = 0
Bool = 1
LightUserdata = 2
Number = 3
String = 4
Table = 5
Function = 6
Userdata = 7
Thread = 8
Entity = 9
Entity and entity sub-classes including Player, Weapon, NPC, Vehicle, CSEnt, and NextBot
Vector = 10
Angle = 11
PhysObj = 12
Save = 13
Restore = 14
DamageInfo = 15
EffectData = 16
MoveData = 17
RecipientFilter = 18
UserCmd = 19
ScriptedVehicle = 20
👎Deprecated: Leftover from gmod13 beta
Material = 21
Panel = 22
Particle = 23
ParticleEmitter = 24
Texture = 25
UserMsg = 26
ConVar = 27
IMesh = 28
Matrix = 29
Sound = 30
PixelVisHandle = 31
DLight = 32
Video = 33
File = 34
Locomotion = 35
Path = 36
SoundHandle = 38
ParticleSystem = 40
ProjectedTexture = 41
PhysCollide = 42
SurfaceInfo = 43
Count = 44
Amount of LuaType enums (44)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LuaType
impl RefUnwindSafe for LuaType
impl Send for LuaType
impl Sync for LuaType
impl Unpin for LuaType
impl UnwindSafe for LuaType
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