MoveAbility
Abilities are keywords in Sui Move that define how types behave at the compiler level.
enum MoveAbility {
COPY
DROP
KEY
STORE
}
Values
MoveAbility.COPY
Enables values to be copied.
MoveAbility.DROP
Enables values to be popped/dropped.
MoveAbility.KEY
Enables values to be held directly in global storage.
MoveAbility.STORE
Enables values to be held inside a struct in global storage.
Member Of
IMoveDatatype
interface ● MoveDatatype
object ● MoveEnum
object ● MoveFunctionTypeParameter
object ● MoveStruct
object ● MoveStructTypeParameter
object ● MoveType
object