Documentation
    Preparing search index...
    • A set data structure backed by a vector. The set is guaranteed not to contain duplicate keys. All operations are O(N) in the size of the set

      • the intention of this data structure is only to provide the convenience of programming against a set API. Sets that need sorted iteration rather than insertion order iteration should be handwritten.

      Type Parameters

      • K extends BcsType<any, any, string>

      Parameters

      • ...typeParameters: [K]

      Returns MoveStruct<
          {
              contents: BcsType<
                  InferBcsType<K>[],
                  Iterable<InferBcsInput<K>, any, any> & { length: number },
                  string,
              >;
          },
          `0x2::vec_set::VecSet<${K["name"]}>`,
      >