Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SliceSubstrings ¶
type SliceSubstrings[Items ~[]Item, Item comparable] struct { // contains filtered or unexported fields }
func OfSlice ¶
func OfSlice[Items ~[]Item, Item comparable](items Items) SliceSubstrings[Items, Item]
func (SliceSubstrings) Cardinality ¶
func (SliceSubstrings[Items, Item]) Contains ¶
func (set SliceSubstrings[Items, Item]) Contains(substr Items) bool
func (SliceSubstrings) ForEachWhile ¶
func (set SliceSubstrings) ForEachWhile(yield func(Items) bool)
type SliceSubstringsEq ¶
type SliceSubstringsEq[Items ~[]Item, Item any] struct { // contains filtered or unexported fields }
func OfSliceEq ¶
func OfSliceEq[Items ~[]Item, Item any](items Items, eq func(Item, Item) bool) SliceSubstringsEq[Items, Item]
func (SliceSubstringsEq) Cardinality ¶
func (SliceSubstringsEq[Items, Item]) Contains ¶
func (set SliceSubstringsEq[Items, Item]) Contains(substr Items) bool
func (SliceSubstringsEq) ForEachWhile ¶
func (set SliceSubstringsEq) ForEachWhile(yield func(Items) bool)
type StringSubstrings ¶
type StringSubstrings struct {
String string
}
func OfString ¶
func OfString(str string) StringSubstrings
func (StringSubstrings) Cardinality ¶
func (set StringSubstrings) Cardinality() (core.Cardinal, bool)
func (StringSubstrings) Contains ¶
func (set StringSubstrings) Contains(substr string) bool
func (StringSubstrings) ForEachWhile ¶
func (set StringSubstrings) ForEachWhile(yield func(string) bool)
func (StringSubstrings) Len ¶
func (set StringSubstrings) Len() int
func (StringSubstrings) Values ¶
func (set StringSubstrings) Values(yield func(string) bool)
Click to show internal directories.
Click to hide internal directories.