pub enum BaseVarType {
Integer,
String,
Long,
}Expand description
Base variable types in the RS2 type system. Every ScriptVarType maps to one of these for stack operations.
Variants§
Trait Implementations§
Source§impl Clone for BaseVarType
impl Clone for BaseVarType
Source§fn clone(&self) -> BaseVarType
fn clone(&self) -> BaseVarType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BaseVarType
Source§impl Debug for BaseVarType
impl Debug for BaseVarType
impl Eq for BaseVarType
Source§impl Hash for BaseVarType
impl Hash for BaseVarType
Source§impl PartialEq for BaseVarType
impl PartialEq for BaseVarType
Source§fn eq(&self, other: &BaseVarType) -> bool
fn eq(&self, other: &BaseVarType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BaseVarType
Auto Trait Implementations§
impl Freeze for BaseVarType
impl RefUnwindSafe for BaseVarType
impl Send for BaseVarType
impl Sync for BaseVarType
impl Unpin for BaseVarType
impl UnsafeUnpin for BaseVarType
impl UnwindSafe for BaseVarType
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