Crate friperms

Source

Macros§

kv_list_set

Structs§

KVListSet
Set-variation of a key-value list. Does operations on sub-values based on key.
KVListWithWildcardSet
Set-variation of a key-value list with optional wildcard. Does operations on sub-values based on key.
Separator
Set-variation that exists mainly for the purpose of optimization, for example when building a set that will often be serialzied, so that a complicated empty set structure does not have to be serialized instead of a simple “None”.

Traits§

Difference
Difference (denoted by -) is the difference between two sets. A - B means all elements in A except the elements that are also present in B.
DifferenceInPlace
DifferenceInPlace is the in-place version of the Difference trait.
DisjunctiveUnion
DisjunctiveUnionInPlace
DisjunctiveUnionInPlace is the in-place version of the DisjunctiveUnion trait.
HasSubset
SubsetCmp will check if Rhs contains Self.
Intersection
Intersection (denoted by ∩) is the common values of two sets. Intersection is a symmetric relation, which means that A ∩ B must equal B ∩ A.
IntersectionInPlace
IntersectionInPlace is the in-place version of the Intersection trait.
Set
The most basic trait that all sets must have to be able to have operations, since most require them.
SubsetOf
SubsetCmp will check if Rhs contains Self.
Union
Union (denoted by ∪) is the sum of two sets. Union is a symmetric relation, which means that A ∪ B must equal B ∪ A.
UnionInPlace
UnionInPlace is the in-place version of the Union trait.