Documentation ¶
Index ¶
- type Elementer
- type ElementerPointer
- type List
- func (l *List) ForEach(fn func(ElementerPointer) bool)
- func (l *List) ForEachIdx(fn func(int, ElementerPointer) bool)
- func (l *List) ForEachPt(fn func(int, maths.Pt) bool)
- func (l *List) ForEachPtBetween(start, end ElementerPointer, fn func(int, maths.Pt) bool)
- func (l *List) GoString() string
- func (l *List) PushInBetween(start, end ElementerPointer, element ElementerPointer) (r bool)
- type Pt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElementerPointer ¶
type List ¶
type List struct {
list.List
}
func (*List) ForEach ¶
func (l *List) ForEach(fn func(ElementerPointer) bool)
ForEachIdx is the same as the one in singlelist except it takes ElementerPointers
func (*List) ForEachIdx ¶
func (l *List) ForEachIdx(fn func(int, ElementerPointer) bool)
ForEachIdx is the same as the one in singlelist except it takes ElementerPointers
func (*List) ForEachPt ¶
ForEachPt will iterate forward through the list. The fn will be called for each pt. If fn returns false, the iteration will stop.
func (*List) ForEachPtBetween ¶
ForEachPtBetween will iterate forward through the list. Starting from the start point to the end point calling the fn.
func (*List) PushInBetween ¶
func (l *List) PushInBetween(start, end ElementerPointer, element ElementerPointer) (r bool)
PushInBetween will Push the element pointer between the start and end points
Click to show internal directories.
Click to hide internal directories.