Type HashSetpub

Implements: Default · Foldable
:type(pub) HashSet

Trait Implementations

impl Default for HashSet(?540305)

HashSet's .default mirrors HashMap's: draws (HashState .new) and discards the state, carrying +Random.

.default ( → (HashSet elem) )

impl Foldable for HashSet(?540606)

.all ( (HashSet elem) [elem → Bool ] → Bool )

.any ( (HashSet elem) [elem → Bool ] → Bool )

.chunks-n ( (HashSet elem) (Int ..) → (Vec (Vec elem)) )

.count ( (HashSet elem) → (Int ..) )

.count-where ( (HashSet elem) [elem → Bool ] → (Int ..) )

.enumerate ( (HashSet elem) → (Pair (Int ..) (Vec (Pair (Int ..) elem))) )

.filter-map ( (HashSet elem) [elem → (Option b) ] → (Vec b) )

.find ( (HashSet elem) [elem → Bool ] → (Option elem) )

.find-map ( (HashSet elem) [elem → (Option b) ] → (Option b) )

.first ( (HashSet elem) → (Option elem) )

.flat-map ( (HashSet elem) [elem → (Vec b n) ] → (Vec b) )

.flatten ( (HashSet elem) → (Vec elem) )

.fold ( (HashSet elem) acc [acc elem → acc ] → acc )

.for-each ( (HashSet elem) [elem → ] → )

.intersperse ( (HashSet elem) elem → (Vec elem) )

.is-partitioned ( (HashSet elem) [elem → Bool ] → Bool )

.last ( (HashSet elem) → (Option elem) )

.map-while ( (HashSet elem) [elem → (Option b) ] → (Vec b) )

.max-by ( (HashSet elem) [elem elem → Ordering ] → (Option elem) )

.max-by-key ( (HashSet elem) [elem → key ] → (Option elem) )

.min-by ( (HashSet elem) [elem elem → Ordering ] → (Option elem) )

.min-by-key ( (HashSet elem) [elem → key ] → (Option elem) )

.partition ( (HashSet elem) [elem → Bool ] → (Vec elem la) (Vec elem lb) )

.position ( (HashSet elem) [elem → Bool ] → (Option (Int ..)) )

.reduce ( (HashSet elem) [elem elem → elem ] → (Option elem) )

.rposition ( (HashSet elem) [elem → Bool ] → (Option (Int ..)) )

.scan ( (HashSet elem) state [state elem → state (Option result) ] → (Vec result) )

.skip ( (HashSet elem) (Int ..) → (Vec elem) )

.skip-while ( (HashSet elem) [elem → Bool ] → (Vec elem) )

.step-by ( (HashSet elem) (Int ..) → (Vec elem) )

.take ( (HashSet elem) (Int ..) → (Vec elem) )

.take-while ( (HashSet elem) [elem → Bool ] → (Vec elem) )

.try-fold ( (HashSet elem) acc [acc elem → (Result acc err) ] → (Result acc err) )

.try-for-each ( (HashSet elem) [elem → (Result Unit err) ] → (Result Unit err) )

.try-reduce ( (HashSet elem) [elem elem → (Result elem err) ] → (Result (Option elem) err) )

.unzip ( (HashSet elem) → (Pair (Vec a) (Vec b)) )