pub fn type_name(&self) -> &str {
      match self {
         Value::Nil => "Nil",
         Value::False => "False",
         Value::True => "True",
         Value::Number(_) => "Number",
         Value::String(_) => "String",
         Value::Function(_) => "Function",
         // Hopefully this doesn't explode.
         Value::Struct(s) => &unsafe { s.0.dtable() }.type_name,
         Value::List(_) => "List",
         Value::UserData(u) => &unsafe { u.dtable() }.type_name,
      }
   }
/// Returns the name of this value's type.
Returns the name of this value's type.
Returns the name of this value ' s type .
pub fn type_name(&self) -> &str {
      match self {
         Value::Nil => "Nil",
         Value::False => "False",
         Value::True => "True",
         Value::Number(_) => "Number",
         Value::String(_) => "String",
         Value::Function(_) => "Function",
         // Hopefully this doesn't explode.
         Value::Struct(s) => &unsafe { s.0.dtable() }.type_name,
         Value::List(_) => "List",
         Value::UserData(u) => &unsafe { u.dtable() }.type_name,
      }
   }
pub fn type_name ( & self ) -> & str { match self { Value :: Nil => " " , Value :: False => " " , Value :: True => " " , Value :: Number ( _ ) => " " , Value :: String ( _ ) => " " , Value :: Function ( _ ) => " " , // Hopefully this doesn't explode. Value :: Struct ( s ) => & unsafe { s . 0 . dtable ( ) } . type_name , Value :: List ( _ ) => " " , Value :: UserData ( u ) => & unsafe { u . dtable ( ) } . type_name , } }
Returns the name of this value's type.
Returns the name of this value ' s type .
&self