Expand description
All the methods and types associated to Sets.
Structs§
- Set
- Represent a slice which contains types that are sorted and deduplicated (akin to
str). - SetBuf
- An owned, set (akin to
String).
Enums§
Functions§
- is_
sort_ dedup - Returns an error if the slice is not sorted nor deduplicated, returns
()if it is. - slice_
sets_ into_ slices - Safely transmute a
sliceofSets into asliceofslice. - sort_
dedup_ vec - Sort and dedup the vec given in parameter.
- vec_
sets_ into_ slices - Safely transmute a
VecofSets into aVecofslice. - vec_
slices_ into_ sets - Construct a
VecofSets only if all slices are sorted and deduplicated. - vec_
slices_ into_ sets_ unchecked - Transmutes slices without checking them.