---
source: crates/move-syn/tests/functions.rs
expression: signatures
---
fun new<K: copy + drop + store, V: key + store>(ctx: &mut sui::tx_context::TxContext): ObjectTable<K, V>
fun add<K: copy + drop + store, V: key + store>(table: &mut ObjectTable<K, V>, k: K, v: V)
fun borrow<K: copy + drop + store, V: key + store>(table: &ObjectTable<K, V>, k: K): &V
fun borrow_mut<K: copy + drop + store, V: key + store>(table: &mut ObjectTable<K, V>, k: K): &mut V
fun remove<K: copy + drop + store, V: key + store>(table: &mut ObjectTable<K, V>, k: K): V
fun contains<K: copy + drop + store, V: key + store>(table: &ObjectTable<K, V>, k: K): bool
fun length<K: copy + drop + store, V: key + store>(table: &ObjectTable<K, V>): u64
fun is_empty<K: copy + drop + store, V: key + store>(table: &ObjectTable<K, V>): bool
fun destroy_empty<K: copy + drop + store, V: key + store>(table: ObjectTable<K, V>)
fun value_id<K: copy + drop + store, V: key + store>(table: &ObjectTable<K, V>, k: K): Option<sui::object::ID>