pub fn ptr(self) -> ObjectPtr {
        let type_ = match &self {
            Self::Boolean(_) => &*BooleanType,
            Self::Float(_) => &*FloatType,
            Self::Integer(_) => &*IntegerType,
            Self::Nil(_) => &*NilType,
            Self::String(_) => &*StringType,
            Self::Native(t) => t.type_,
        };

        ObjectPtr::new(self, type_)
    }
/// Convert this object into a pointer.
Convert this object into a pointer.
Convert this object into a pointer .
pub fn ptr(self) -> ObjectPtr {
        let type_ = match &self {
            Self::Boolean(_) => &*BooleanType,
            Self::Float(_) => &*FloatType,
            Self::Integer(_) => &*IntegerType,
            Self::Nil(_) => &*NilType,
            Self::String(_) => &*StringType,
            Self::Native(t) => t.type_,
        };
        ObjectPtr::new(self, type_)
    }
pub fn ptr ( self ) -> ObjectPtr { let type_ = match & self { Self :: Boolean ( _ ) => & * BooleanType , Self :: Float ( _ ) => & * FloatType , Self :: Integer ( _ ) => & * IntegerType , Self :: Nil ( _ ) => & * NilType , Self :: String ( _ ) => & * StringType , Self :: Native ( t ) => t . type_ , } ; ObjectPtr :: new ( self , type_ ) }
Convert this object into a pointer.
Convert this object into a pointer .
self