bit_vector
Module0x0000…0001
- Move path
- 0x0000…0001::bit_vector
- Functions
- 77 public, 0 entry
- Structs
- 1
- Friend modules
- None
bit_vector
Functions7
- public fun is_index_set(&BitVector,u64): bool
- public fun length(&BitVector): u64
- public fun longest_set_sequence_starting_at(&BitVector,u64): u64
- public fun new(u64): BitVector
- public fun set(&mut BitVector,u64)
- public fun shift_left(&mut BitVector,u64)
- public fun unset(&mut BitVector,u64)
Structs1
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- BitVectorcopydropstore
length u64 bit_field vector<bool>
Constants5
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 131072 | u64 | Abort code | setunsetis_index_setlongest_set_sequence_starting_at |
| 1 | 131073 | u64 | Abort code | new |
| 2 | 1 | u64 | Value | |
| 3 | 1024 | u64 | Value | new |
| 4 | 00 | vector<bool> | Value | new |