BufSet
A BufSet is a set of strings. The BufSet duplicates strings internally, and never takes ownership of strings which are passed to it.
Fields of this type
Fields
Create a BufSet using an allocator.
Functions
- init
- Create a BufSet using an allocator.
- deinit
- Free a BufSet along with all stored keys.
- insert
- Insert an item into the BufSet.
- contains
- Check if the set contains an item matching the passed string
- remove
- Remove an item from the set.
- count
- Returns the number of items stored in the set
- iterator
- Returns an iterator over the items stored in the set.
- allocator
- Get the allocator used by this set
- cloneWithAllocator
- Creates a copy of this BufSet, using a specified allocator.
- clone
- Creates a copy of this BufSet, using the same allocator.
= BufSetHashMap.KeyIterator
Values
- Iterator
- = BufSetHashMap.KeyIterator