// Iter iterates a function for all the vault positions and content runes.
Iter iterates a function for all the vault positions and content runes.
// Iter iterates a function for all the vault positions and content runes .
func (v *Vault) Iter(fn func(gruid.Point, rune)) {
	x, y := 0, 0
	for _, r := range v.content {
		if r == '\n' {
			x = 0
			y++
			continue
		}
		fn(gruid.Point{x, y}, r)
		x++
	}
}
func ( v * Vault ) Iter ( fn func ( gruid . Point , rune ) ) { x , y := 0 , 0 for _ , r := range v . content { if r == '\n' { x = 0 y ++ continue } fn ( gruid . Point { x , y } , r ) x ++ } }
Iter iterates a function for all the vault positions and content runes.
Iter iterates a function for all the vault positions and content runes .