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

API

table

Module0x0000…0002
Move path
0x0000…0002::table
Functions
1010 public, 0 entry
Structs
1
Friend modules
None
table

Declarations

Rebuilt from the module interface. No verified source is published, and function bodies are only available as bytecode.

module table;
struct Table<phantom T0: copy + drop + store, phantom T1: store> has store, key {
id: UID,
size: u64,
}
public fun add<T0: copy + drop + store, T1: store>(&mut Table<T0, T1>,T0,T1)
public fun borrow<T0: copy + drop + store, T1: store>(&Table<T0, T1>,T0): &T1
public fun borrow_mut<T0: copy + drop + store, T1: store>(&mut Table<T0, T1>,T0): &mut T1
public fun contains<T0: copy + drop + store, T1: store>(&Table<T0, T1>,T0): bool
public fun destroy_empty<T0: copy + drop + store, T1: store>(Table<T0, T1>)
public fun drop<T0: copy + drop + store, T1: drop + store>(Table<T0, T1>)
public fun is_empty<T0: copy + drop + store, T1: store>(&Table<T0, T1>): bool
public fun length<T0: copy + drop + store, T1: store>(&Table<T0, T1>): u64
public fun new<T0: copy + drop + store, T1: store>(): Table<T0, T1>
public fun remove<T0: copy + drop + store, T1: store>(&mut Table<T0, T1>,T0): T1