Enum TVMFFIFieldFlagBitMask#
Defined in File c_api.h
Enum Documentation#
-
enum TVMFFIFieldFlagBitMask#
bitmask of the field.
Values:
-
enumerator kTVMFFIFieldFlagBitMaskWritable#
The field is writable.
-
enumerator kTVMFFIFieldFlagBitMaskHasDefault#
The field has default value.
-
enumerator kTVMFFIFieldFlagBitMaskIsStaticMethod#
The field is a static method.
-
enumerator kTVMFFIFieldFlagBitMaskSEqHashIgnore#
The field should be ignored when performing structural eq/hash.
This is an optional meta-data for structural eq/hash.
-
enumerator kTVMFFIFieldFlagBitMaskSEqHashDef#
The field enters a def region where var can be defined/matched.
This is an optional meta-data for structural eq/hash.
-
enumerator kTVMFFIFieldFlagBitMaskDefaultFromFactory#
The default_value_or_factory is a callable factory function () -> Any.
When this flag is set along with kTVMFFIFieldFlagBitMaskHasDefault, the default_value_or_factory field contains a Function that should be called with no arguments to produce the default value, rather than being used directly as the default value.
-
enumerator kTVMFFIFieldFlagBitMaskReprOff#
The field is excluded from repr output.
When set, the field will not appear in the generic reflection-based repr. By default this flag is off (meaning the field is included in repr).
-
enumerator kTVMFFIFieldFlagBitMaskWritable#