Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureSet ¶
type FeatureSet[Set core.SetOf[Feat], Obj, Feat any] struct { BaseSet Set GetFeature func(Obj) Feat }
func From ¶
func From[Set core.SetOf[Feat], Obj, Feat any](set Set, getFeature func(Obj) Feat) FeatureSet[Set, Obj, Feat]
func (FeatureSet[_, Obj, _]) Contains ¶
func (s FeatureSet[_, Obj, _]) Contains(obj Obj) bool
type ModifiableFeatureSet ¶
type ModifiableFeatureSet[
Set interface {
core.SetOf[Feat]
core.Modifiable[Feat]
},
Obj, Feat any,
] struct {
FeatureSet[Set, Obj, Feat]
}
func FromModifiable ¶
func FromModifiable[
Set interface {
core.SetOf[Feat]
core.Modifiable[Feat]
},
Obj, Feat any,
](set Set, getFeature func(Obj) Feat) ModifiableFeatureSet[Set, Obj, Feat]
func (ModifiableFeatureSet[_, Obj, _]) Exclude ¶
func (s ModifiableFeatureSet[_, Obj, _]) Exclude(objs ...Obj)
func (ModifiableFeatureSet[_, Obj, _]) Include ¶
func (s ModifiableFeatureSet[_, Obj, _]) Include(objs ...Obj)
Click to show internal directories.
Click to hide internal directories.