Documentation ¶
Index ¶
- type RuneSet
- func (rs RuneSet) Contains(r rune) bool
- func (rs RuneSet) Copy() RuneSet
- func (rs RuneSet) Difference(sets ...RuneSet) (difference RuneSet)
- func (rs RuneSet) Equal(other RuneSet) bool
- func (rs RuneSet) Intersection(sets ...RuneSet) (intersection RuneSet)
- func (rs RuneSet) Union(sets ...RuneSet) (union RuneSet)
- type Signal
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuneSet ¶
func FromString ¶
FromString converts a string to a RuneSet of the runes inside.
func Intersection ¶
func (RuneSet) Difference ¶
Difference returns the items in the reciever but not any other arguments i.e, if set = {'a', b' 'c'}; set.Difference({'b', 'c'}) = {'a'}
func (RuneSet) Equal ¶
Equal shows whether two RuneSets are equal; i.e, they contain the same items.
func (RuneSet) Intersection ¶
Intersection returns the intersection of the sets;
Click to show internal directories.
Click to hide internal directories.