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

API

linked_table

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

Functions19

  • public fun back<T0: copy + drop + store, T1: store>(&LinkedTable<T0, T1>): &Option<T0>
  • public fun borrow<T0: copy + drop + store, T1: store>(&LinkedTable<T0, T1>,T0): &T1
  • public fun borrow_mut<T0: copy + drop + store, T1: store>(&mut LinkedTable<T0, T1>,T0): &mut T1
  • public fun contains<T0: copy + drop + store, T1: store>(&LinkedTable<T0, T1>,T0): bool
  • public fun destroy_empty<T0: copy + drop + store, T1: store>(LinkedTable<T0, T1>)
  • public fun drop<T0: copy + drop + store, T1: drop + store>(LinkedTable<T0, T1>)
  • public fun front<T0: copy + drop + store, T1: store>(&LinkedTable<T0, T1>): &Option<T0>
  • public fun insert_after<T0: copy + drop + store, T1: store>(&mut LinkedTable<T0, T1>,T0,T0,T1)
  • public fun insert_before<T0: copy + drop + store, T1: store>(&mut LinkedTable<T0, T1>,T0,T0,T1)
  • public fun is_empty<T0: copy + drop + store, T1: store>(&LinkedTable<T0, T1>): bool
  • public fun length<T0: copy + drop + store, T1: store>(&LinkedTable<T0, T1>): u64
  • public fun new<T0: copy + drop + store, T1: store>(): LinkedTable<T0, T1>
  • public fun next<T0: copy + drop + store, T1: store>(&LinkedTable<T0, T1>,T0): &Option<T0>
  • public fun pop_back<T0: copy + drop + store, T1: store>(&mut LinkedTable<T0, T1>): (T0, T1)
  • public fun pop_front<T0: copy + drop + store, T1: store>(&mut LinkedTable<T0, T1>): (T0, T1)
  • public fun prev<T0: copy + drop + store, T1: store>(&LinkedTable<T0, T1>,T0): &Option<T0>
  • public fun push_back<T0: copy + drop + store, T1: store>(&mut LinkedTable<T0, T1>,T0,T1)
  • public fun push_front<T0: copy + drop + store, T1: store>(&mut LinkedTable<T0, T1>,T0,T1)
  • public fun remove<T0: copy + drop + store, T1: store>(&mut LinkedTable<T0, T1>,T0): T1

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 codedestroy_empty
11u64Abort codepop_frontpop_back