welder 0.1.0
Bindings for annotated C++ types, from C++26 reflection
Loading...
Searching...
No Matches
welder::rods::sol2::metamethod Struct Reference

A member operator's sol2 metamethod, or {…, nullptr} if welder does not expose it. More...

#include <welder/rods/lua/sol2/metamethods.hpp>

Public Attributes

::sol::meta_function fn
 The sol2 metamethod slot.
const char * name
 Its __name, or nullptr if not exposed.

Detailed Description

A member operator's sol2 metamethod, or {…, nullptr} if welder does not expose it.

Definition at line 28 of file metamethods.hpp.

Member Data Documentation

◆ fn

::sol::meta_function welder::rods::sol2::metamethod::fn

The sol2 metamethod slot.

Definition at line 29 of file metamethods.hpp.

Referenced by welder::rods::sol2::rod::_register_operator().

◆ name

const char* welder::rods::sol2::metamethod::name

Its __name, or nullptr if not exposed.

Definition at line 30 of file metamethods.hpp.

Referenced by welder::rods::sol2::rod::special_method_name().


The documentation for this struct was generated from the following file: