Search by name, SuiNS, address, digest, object ID, coin type or checkpoint.

API

borrow

Module0x0000…0002
Move path
0x0000…0002::borrow
Functions
44 public, 0 entry
Structs
2
Friend modules
None
borrow

Functions4

  • public fun borrow<T0: store + key>(&mut Referent<T0>): (T0, Borrow)
  • public fun destroy<T0: store + key>(Referent<T0>): T0
  • public fun new<T0: store + key>(T0): Referent<T0>
  • public fun put_back<T0: store + key>(&mut Referent<T0>,T0,Borrow)

Structs2

key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.

Constants2

Constants are shown the way the code loads them. Bytecode does not keep their names.

IndexValueTypeUseUsed in
00u64Abort codeput_back
11u64Abort codeput_back