Struct TVMFFIMethodInfo#

Struct Documentation#

struct TVMFFIMethodInfo#

Method information that can appear in reflection table.

Public Members

TVMFFIByteArray name#

The name of the field.

TVMFFIByteArray doc#

The docstring about the method.

TVMFFIByteArray metadata#

Optional structured metadata of the method in JSON string.

int64_t flags#

bitmask flags of the method.

TVMFFIAny method#

The method wrapped as ffi::Function, stored as AnyView.

Note

The first argument to the method is always the self for instance methods.