struct ECS::Builtins::Member
- ECS::Builtins::Member
- Struct
- Value
- Object
Included Modules
Extended Modules
Defined in:
flecs/builtins.crConstant Summary
-
ECS_NAME =
"flecs.meta.Member"
Constructors
Class Method Summary
Instance Method Summary
- #count : Int32
- #count=(count : Int32)
- #type : UInt64
- #type=(type : UInt64)
-
#with_count(value)
Update the count and return self for chaining.
-
#with_type(value)
Update the type and return self for chaining.
Constructor Detail
Class Method Detail
Instance Method Detail
def with_count(value)
#
Update the count and return self for chaining.
This is useful for mutating a struct because it ensures that the mutated instance of the struct is what is returned.
def with_type(value)
#
Update the type and return self for chaining.
This is useful for mutating a struct because it ensures that the mutated instance of the struct is what is returned.