pub enum BuiltinType {
Int,
Float,
String,
Object,
Void,
Action,
Vector,
EngineStructure(String),
}Expand description
One builtin NWScript type defined by nwscript.nss.
Variants§
Int
int
Float
float
String
string
Object
object
Void
void
Action
action
Vector
vector
EngineStructure(String)
One engine-defined structure such as effect or json.
Trait Implementations§
Source§impl Clone for BuiltinType
impl Clone for BuiltinType
Source§fn clone(&self) -> BuiltinType
fn clone(&self) -> BuiltinType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BuiltinType
impl Debug for BuiltinType
Source§impl<'de> Deserialize<'de> for BuiltinType
impl<'de> Deserialize<'de> for BuiltinType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BuiltinType
impl PartialEq for BuiltinType
Source§impl Serialize for BuiltinType
impl Serialize for BuiltinType
impl StructuralPartialEq for BuiltinType
Auto Trait Implementations§
impl Freeze for BuiltinType
impl RefUnwindSafe for BuiltinType
impl Send for BuiltinType
impl Sync for BuiltinType
impl Unpin for BuiltinType
impl UnsafeUnpin for BuiltinType
impl UnwindSafe for BuiltinType
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